vnstat: provide full path of "kill" in ExecReload
This commit is contained in:
parent
2cc4703a2d
commit
0338817f62
@ -32,7 +32,7 @@ in {
|
|||||||
preStart = "chmod 755 /var/lib/vnstat";
|
preStart = "chmod 755 /var/lib/vnstat";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.vnstat}/bin/vnstatd -n";
|
ExecStart = "${pkgs.vnstat}/bin/vnstatd -n";
|
||||||
ExecReload = "kill -HUP $MAINPID";
|
ExecReload = "${pkgs.procps}/bin/kill -HUP $MAINPID";
|
||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user