about summary refs log tree commit diff
path: root/nixos/modules/services/networking/dnsmasq.nix
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2015-09-08 19:23:17 +0200
committerThomas Strobel <ts468@cam.ac.uk>2015-09-08 19:33:01 +0200
commit5e21271af04ef8288ac66a8d1b78d6893d8872c6 (patch)
tree1a01bb402b50263e6ab0f54fe44b76ee47008161 /nixos/modules/services/networking/dnsmasq.nix
parent855716a66b96b5e752eb6a1933a6a5d4328c4d03 (diff)
dnsmasq nixos module: fix path in systemd service
Diffstat (limited to 'nixos/modules/services/networking/dnsmasq.nix')
-rw-r--r--nixos/modules/services/networking/dnsmasq.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dnsmasq.nix b/nixos/modules/services/networking/dnsmasq.nix
index eb3551515723c..6907d63d76110 100644
--- a/nixos/modules/services/networking/dnsmasq.nix
+++ b/nixos/modules/services/networking/dnsmasq.nix
@@ -96,7 +96,7 @@ in
           Type = "dbus";
           BusName = "uk.org.thekelleys.dnsmasq";
           ExecStart = "${dnsmasq}/bin/dnsmasq -k --enable-dbus --user=dnsmasq -C ${dnsmasqConf}";
-          ExecReload = "${dnsmasq}/bin/kill -HUP $MAINPID";
+          ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
         };
         restartTriggers = [ config.environment.etc.hosts.source ];
     };