diff --git a/haproxy-acme.nix b/haproxy-acme.nix index ef9bb27..0310828 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 48c5458..2187eee 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -60,6 +60,9 @@ in extraDomains = { "mail.${cfg.domaine}" = null; }; + postRun = '' + systemctl reload dovecot2.service + ''; }; };