stalwart: automatically reload when cert is updated
This commit is contained in:
parent
f9df7a63c5
commit
20ce4199ba
1 changed files with 4 additions and 2 deletions
|
@ -146,8 +146,10 @@ in {
|
||||||
|
|
||||||
# need to change group to stalwart-mail for cert + add nginx to stalwart-mail group to do HTTP ACME
|
# need to change group to stalwart-mail for cert + add nginx to stalwart-mail group to do HTTP ACME
|
||||||
users.users.nginx.extraGroups = [ stalwart_group ];
|
users.users.nginx.extraGroups = [ stalwart_group ];
|
||||||
security.acme.certs."${svc_domain}".group = stalwart_group;
|
security.acme.certs."${svc_domain}" = {
|
||||||
|
group = stalwart_group;
|
||||||
|
reloadServices = [ config.systemd.services.stalwart-mail.name ];
|
||||||
|
};
|
||||||
|
|
||||||
# setup secrets for stalwart
|
# setup secrets for stalwart
|
||||||
# setup access to ldap bind user credential
|
# setup access to ldap bind user credential
|
||||||
|
|
Loading…
Reference in a new issue