From 6da13d433cc128c12dfe0693984222c94d075dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 4 Jul 2022 14:48:24 +0200 Subject: [PATCH] nixos/systemd-vaultd: don't stop on nixos upgrades --- nix/modules/systemd-vaultd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/modules/systemd-vaultd.nix b/nix/modules/systemd-vaultd.nix index 3d176d5..89e359c 100644 --- a/nix/modules/systemd-vaultd.nix +++ b/nix/modules/systemd-vaultd.nix @@ -20,6 +20,8 @@ in { description = "systemd-vaultd daemon"; requires = ["systemd-vaultd.socket"]; after = ["systemd-vaultd.socket"]; + # Restarting can break services waiting for secrets + stopIfChanged = false; serviceConfig = { ExecStart = "${systemd-vaultd}/bin/systemd-vaultd"; };