mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-26 19:20:34 +05:00
acme: Switch from postRun
to reloadServices
to fix hangs. Fixes #232
This commit is contained in:
parent
4396125ebb
commit
6284a20f77
@ -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"
|
||||||
'';
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user