1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

vnstat: provide full path of "kill" in ExecReload

This commit is contained in:
Jörg Thalheim 2017-02-21 09:24:56 +00:00
parent 2cc4703a2d
commit 0338817f62

View file

@ -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;