From 0338817f62ada4a90b155273c3efe2f340a3194f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 21 Feb 2017 09:24:56 +0000 Subject: [PATCH] vnstat: provide full path of "kill" in ExecReload --- nixos/modules/services/monitoring/vnstat.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/vnstat.nix b/nixos/modules/services/monitoring/vnstat.nix index f6be7c7fd34..ca56e4a7b95 100644 --- a/nixos/modules/services/monitoring/vnstat.nix +++ b/nixos/modules/services/monitoring/vnstat.nix @@ -32,7 +32,7 @@ in { preStart = "chmod 755 /var/lib/vnstat"; serviceConfig = { ExecStart = "${pkgs.vnstat}/bin/vnstatd -n"; - ExecReload = "kill -HUP $MAINPID"; + ExecReload = "${pkgs.procps}/bin/kill -HUP $MAINPID"; ProtectHome = true; PrivateDevices = true; PrivateTmp = true;