forked from mirrors/nixpkgs
nixos/acme: Fix allowKeysForGroup not applying immediately (#72056)
nixos/acme: Fix allowKeysForGroup not applying immediately
This commit is contained in:
commit
c482b65abe
|
@ -224,6 +224,12 @@ in
|
||||||
environment.REQUESTS_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt";
|
environment.REQUESTS_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
# With RemainAfterExit the service is considered active even
|
||||||
|
# after the main process having exited, which means when it
|
||||||
|
# gets changed, the activation phase restarts it, meaning
|
||||||
|
# the permissions of the StateDirectory get adjusted
|
||||||
|
# according to the specified group
|
||||||
|
RemainAfterExit = true;
|
||||||
SuccessExitStatus = [ "0" "1" ];
|
SuccessExitStatus = [ "0" "1" ];
|
||||||
User = data.user;
|
User = data.user;
|
||||||
Group = data.group;
|
Group = data.group;
|
||||||
|
|
Loading…
Reference in a new issue