diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-21 09:24:56 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-21 09:26:25 +0000 |
commit | 0338817f62ada4a90b155273c3efe2f340a3194f (patch) | |
tree | c0cb73ff19c7dec735c8ca843de757fd0371f867 /nixos/modules | |
parent | 2cc4703a2d73155fe3cacb776d13468f0b9898bf (diff) |
vnstat: provide full path of "kill" in ExecReload
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/monitoring/vnstat.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/vnstat.nix b/nixos/modules/services/monitoring/vnstat.nix index f6be7c7fd34a..ca56e4a7b958 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; |