mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #9122 from anderspapitto/master
dnsmasq restarts if /etc/hosts file is changed by nixos-rebuild
This commit is contained in:
commit
5f923f79b7
1 changed files with 1 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue