Enable selecting the TLS Certificate

This commit is contained in:
2022-01-23 18:09:53 -06:00
parent 3173c6094d
commit d6be779113
3 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ Description=Copy TLS Certificates for Dovecot
[Service]
Type=oneshot
ExecStartPre=mkdir -p /etc/dovecot/certificates
ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/*/*.pem /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]