acme: Switch from postRun
to reloadServices
to fix hangs. Fixes #232
This commit is contained in:
parent
4396125ebb
commit
6284a20f77
1 changed files with 4 additions and 4 deletions
|
@ -36,9 +36,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
security.acme.certs."${cfg.fqdn}".postRun = ''
|
||||
systemctl reload postfix
|
||||
systemctl reload dovecot2
|
||||
'';
|
||||
security.acme.certs."${cfg.fqdn}".reloadServices = [
|
||||
"postfix.service"
|
||||
"dovecot2.service"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue