From c3c7520b5044e428524103919e7e48a7468cbe7c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 16 Feb 2016 18:18:10 +0100 Subject: add hooks to config --- cmd/acme/dim13.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/acme/dim13.yml b/cmd/acme/dim13.yml index 65efda0..096dd4a 100644 --- a/cmd/acme/dim13.yml +++ b/cmd/acme/dim13.yml @@ -20,6 +20,7 @@ desire: - imap.dim13.org keyfile: private/mail_dim13_org.key crtfile: certs/mail_dim13_org.pem + hook: [ dovecot, smtpd ] web: provider: letsencrypt account: webmaster @@ -30,3 +31,8 @@ desire: - cvs.dim13.org keyfile: private/www_dim13_org.key crtfile: certs/www_dim13_org.pem + hook: [ nginx ] +hook: + nginx: /etc/rc.d/nginx restart + smtpd: /etc/rc.d/smtpd restart + dovecot: /etc/rc.d/dovecot restart -- cgit v1.2.3