Fedora 40 support

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2024-06-02 12:14:56 -05:00
parent c34674b5ca
commit 6f988d5ff6
34 changed files with 2469 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Copy TLS Certificates for Dovecot
[Service]
Type=oneshot
ExecStartPre=mkdir -p /etc/dovecot/certificates
ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/{{ dovecot_vhost }}/*.pem /etc/dovecot/certificates/'
ExecStartPost=chown -R root:root /etc/dovecot/certificates
[Install]
WantedBy=dovecot.service

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Copy TLS Certificates for Dovecot
[Timer]
OnUnitActiveSec=5min
[Install]
WantedBy=dovecot.service