summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/systemd.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-29 13:44:45 +0100
committertv <tv@krebsco.de>2022-12-29 15:24:39 +0100
commitb3c5492b696e02468604fbe00abdc36cb02eb22b (patch)
treea9a3ec32eab8f657271b279f9115829fa6446175 /krebs/3modules/systemd.nix
parent2a63d78060295a4a59b2d90c48480625a592da71 (diff)
krebs.systemd.restartIfCredentialsChange: default = false
Diffstat (limited to 'krebs/3modules/systemd.nix')
-rw-r--r--krebs/3modules/systemd.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/krebs/3modules/systemd.nix b/krebs/3modules/systemd.nix
index 194e8b24..61bfcf63 100644
--- a/krebs/3modules/systemd.nix
+++ b/krebs/3modules/systemd.nix
@@ -6,11 +6,7 @@
type = lib.types.attrsOf (lib.types.submodule {
options = {
restartIfCredentialsChange = lib.mkOption {
- # Enabling this by default only makes sense here as the user already
- # bothered to write down krebs.systemd.services.* = {}. If this
- # functionality gets upstreamed to systemd.services, restarting
- # should be disabled by default.
- default = true;
+ default = false;
description = ''
Whether to restart the service whenever any of its credentials
change. Only credentials with an absolute path in LoadCredential=