acme: Switch from `postRun` to `reloadServices` to fix hangs. Fixes #232

This commit is contained in:
Niklas Hambüchen 2022-02-15 16:42:11 +01:00 committed by lewo
parent 4396125ebb
commit 6284a20f77
1 changed files with 4 additions and 4 deletions

View File

@ -36,9 +36,9 @@ in
}; };
}; };
security.acme.certs."${cfg.fqdn}".postRun = '' security.acme.certs."${cfg.fqdn}".reloadServices = [
systemctl reload postfix "postfix.service"
systemctl reload dovecot2 "dovecot2.service"
''; ];
}; };
} }