From 946d125adef415fe3863503feff3bacb513f01c4 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Fri, 20 Apr 2018 20:25:50 +0200 Subject: [PATCH] =?UTF-8?q?Red=C3=A9marage=20dovecot=20apr=C3=A8s=20nouvea?= =?UTF-8?q?ux=20certificats?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haproxy-acme.nix | 4 +++- mail-server.nix | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/haproxy-acme.nix b/haproxy-acme.nix index ef9bb27a2..031082895 100644 --- a/haproxy-acme.nix +++ b/haproxy-acme.nix @@ -113,7 +113,9 @@ in email = "paul@nyanlout.re"; user = "haproxy"; group = "haproxy"; - postRun = "systemctl reload haproxy"; + postRun = '' + systemctl reload haproxy.service + ''; }; }; security.acme.directory = "/var/lib/acme"; diff --git a/mail-server.nix b/mail-server.nix index 48c545850..2187eee1c 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -60,6 +60,9 @@ in extraDomains = { "mail.${cfg.domaine}" = null; }; + postRun = '' + systemctl reload dovecot2.service + ''; }; };