Enable Fedora 36
This commit is contained in:
		| @@ -0,0 +1,12 @@ | ||||
| [Unit] | ||||
| Description=Copy TLS Certificates for Postfix | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStartPre=mkdir -p /etc/postfix/certificates | ||||
| ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/{{ postfix_vhost }}/*.pem /etc/postfix/certificates/' | ||||
| ExecStartPost=chown -R root:root /etc/postfix/certificates | ||||
|  | ||||
| [Install] | ||||
| WantedBy=postfix.service | ||||
|  | ||||
| @@ -0,0 +1,9 @@ | ||||
| [Unit] | ||||
| Description=Copy TLS Certificates for Postfix | ||||
|  | ||||
| [Timer] | ||||
| OnUnitActiveSec=5min | ||||
|  | ||||
| [Install] | ||||
| WantedBy=postfix.service | ||||
|  | ||||
		Reference in New Issue
	
	Block a user