dnsmasq restarts if /etc/hosts file is changed by nixos-rebuild

This commit is contained in:
Anders Papitto 2015-08-05 03:35:24 -07:00
parent 661e1016b1
commit 4f7819b89c

View File

@ -98,6 +98,7 @@ in
ExecStart = "${dnsmasq}/bin/dnsmasq -k --enable-dbus --user=dnsmasq -C ${dnsmasqConf}";
ExecReload = "${dnsmasq}/bin/kill -HUP $MAINPID";
};
restartTriggers = [ config.environment.etc.hosts.source ];
};
};