tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
vnstat: provide full path of "kill" in ExecReload
Jörg Thalheim
9 years ago
0338817f
2cc4703a
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
monitoring
vnstat.nix
+1
-1
nixos/modules/services/monitoring/vnstat.nix
···
32
preStart = "chmod 755 /var/lib/vnstat";
33
serviceConfig = {
34
ExecStart = "${pkgs.vnstat}/bin/vnstatd -n";
35
-
ExecReload = "kill -HUP $MAINPID";
36
ProtectHome = true;
37
PrivateDevices = true;
38
PrivateTmp = true;
···
32
preStart = "chmod 755 /var/lib/vnstat";
33
serviceConfig = {
34
ExecStart = "${pkgs.vnstat}/bin/vnstatd -n";
35
+
ExecReload = "${pkgs.procps}/bin/kill -HUP $MAINPID";
36
ProtectHome = true;
37
PrivateDevices = true;
38
PrivateTmp = true;