forked from mirrors/nixpkgs
nscd: Restart if /etc/hosts changes
This commit is contained in:
parent
b3f04718cf
commit
4b0d6a0759
|
@ -52,6 +52,8 @@ in
|
|||
mkdir -m 0755 -p /var/db/nscd
|
||||
'';
|
||||
|
||||
restartTriggers = [ config.environment.etc.hosts.source ];
|
||||
|
||||
serviceConfig =
|
||||
{ ExecStart = "@${pkgs.glibc}/sbin/nscd nscd -f ${./nscd.conf}";
|
||||
Type = "forking";
|
||||
|
|
Loading…
Reference in a new issue