From 15e98e74282d1611f1648ceecf4b8cb8537dad60 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Fri, 24 Jan 2020 18:59:13 +0100 Subject: [PATCH] nixos/vault: add ExecReload entry --- nixos/modules/services/security/vault.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/security/vault.nix b/nixos/modules/services/security/vault.nix index b0ab8fadcbec..6a8a3a93327e 100644 --- a/nixos/modules/services/security/vault.nix +++ b/nixos/modules/services/security/vault.nix @@ -135,6 +135,7 @@ in User = "vault"; Group = "vault"; ExecStart = "${cfg.package}/bin/vault server -config ${configFile}"; + ExecReload = "${pkgs.coreutils}/bin/kill -SIGHUP $MAINPID"; PrivateDevices = true; PrivateTmp = true; ProtectSystem = "full";