Enable Fedora 36
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
| @@ -0,0 +1,9 @@ | ||||
| [Unit] | ||||
| Description=Copy TLS Certificates for Dovecot | ||||
|  | ||||
| [Timer] | ||||
| OnUnitActiveSec=5min | ||||
|  | ||||
| [Install] | ||||
| WantedBy=dovecot.service | ||||
|  | ||||
		Reference in New Issue
	
	Block a user