nixos/vault-agent: default to stopIfChanged

main
Jörg Thalheim 2 years ago
parent 7fa8deb568
commit 5ec7d0120a

@ -76,6 +76,11 @@ in {
lib.nameValuePair "vault-agent-${name}" { lib.nameValuePair "vault-agent-${name}" {
after = ["network.target"]; after = ["network.target"];
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
# Services that also have `stopIfChanged = false` might wait for secrets
# while `vault-agent` is still stopped. This for example happens with nginx.service.
stopIfChanged = false;
# Needs getent in PATH # Needs getent in PATH
path = [pkgs.glibc]; path = [pkgs.glibc];
serviceConfig = { serviceConfig = {

Loading…
Cancel
Save