gerd.murmur: automatically reload service on certificate update/changes
This commit is contained in:
parent
918c32299e
commit
85a64902af
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ in {
|
||||||
# set superpassword on start from secrets
|
# set superpassword on start from secrets
|
||||||
systemd.services.murmur.preStart = lib.mkAfter ''${config.services.murmur.package}/bin/mumble-server -ini /run/murmur/murmurd.ini -readsupw < ${config.age.secrets.murmur-superpassword.path}'';
|
systemd.services.murmur.preStart = lib.mkAfter ''${config.services.murmur.package}/bin/mumble-server -ini /run/murmur/murmurd.ini -readsupw < ${config.age.secrets.murmur-superpassword.path}'';
|
||||||
|
|
||||||
|
# automatically reload service
|
||||||
|
security.acme.certs."${svc_domain}".reloadServices = [ config.systemd.services.murmur.name ];
|
||||||
|
|
||||||
# add murmur user to domain group to access cert
|
# add murmur user to domain group to access cert
|
||||||
users.groups.main-domain.members = [ config.users.groups.murmur.name ];
|
users.groups.main-domain.members = [ config.users.groups.murmur.name ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue