summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-12-21 15:27:44 +0100
committertv <tv@krebsco.de>2021-12-21 15:27:44 +0100
commite888b00a6bd600fedbd58c06934af8d5deeb35a2 (patch)
treef1893acc99d78636d411321c16b972f51718c030 /krebs
parentcd7305394491c4506bc15395a68d7437c4952514 (diff)
secret service: don't be wanted by multi-user.target
This fixes an issue causing secret-trigger-*.service to be restarted on every activation because after triggering these services are dead, this in turn causes restarts of secret-*.service. And finally this caused the issue of always restarting tinc services as they are PartOf= a couple of secert-*.service.
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/secret.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/krebs/3modules/secret.nix b/krebs/3modules/secret.nix
index 978939f69..0c5e1cdcd 100644
--- a/krebs/3modules/secret.nix
+++ b/krebs/3modules/secret.nix
@@ -27,7 +27,6 @@ in {
systemd.services =
mapAttrs'
(name: file: nameValuePair "secret-trigger-${systemd.encodeName name}" {
- wantedBy = ["multi-user.target"];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.systemd}/bin/systemctl restart ${shell.escape file.service}";