Merge pull request #9122 from anderspapitto/master

dnsmasq restarts if /etc/hosts file is changed by nixos-rebuild
This commit is contained in:
Eelco Dolstra 2015-08-05 12:44:40 +02:00
commit 5f923f79b7

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 ];
};
};