summaryrefslogtreecommitdiffstats
path: root/roles/lacme/templates/etc/lacme
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-09-18 17:56:59 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-09-18 18:02:23 +0200
commit234144b0dec021bc1b76d7d37f8134797665d702 (patch)
tree390674b91d2244ab06b895ba6809a6a3e5ae25ec /roles/lacme/templates/etc/lacme
parenta4ecc629b38e9d9d4cf918d6095112347c141e55 (diff)
lacme-certs.conf: don't restart but reload dovecot after renewing IMAPS cert.
Unfortunately as of Debian 8.6 (Jessie) dovecot's service file doesn't have a “Reload” directive, so we can't use `/bin/systemctl restart dovecot` as notification. It'll be fixed in Stretch, though.
Diffstat (limited to 'roles/lacme/templates/etc/lacme')
-rw-r--r--roles/lacme/templates/etc/lacme/lacme-certs.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2 b/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
index 393826f..f7b255a 100644
--- a/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
+++ b/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
@@ -7,7 +7,7 @@ certificate-key = /etc/dovecot/ssl/imap.fripost.org.key
certificate-chain = /etc/dovecot/ssl/imap.fripost.org.pem
subject = /O=Fripost/CN=imap.fripost.org
subjectAltName = DNS:imap.fripost.org,DNS:sieve.fripost.org
-notify = /bin/systemctl restart dovecot
+notify = /usr/bin/doveadm reload
{% endif %}
{% if 'MSA' in group_names %}