From 234144b0dec021bc1b76d7d37f8134797665d702 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 18 Sep 2016 17:56:59 +0200 Subject: lacme-certs.conf: don't restart but reload dovecot after renewing IMAPS cert. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- roles/lacme/templates/etc/lacme/lacme-certs.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/lacme/templates') 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 %} -- cgit v1.2.3