3
0
Fork 0
forked from mirrors/nixpkgs

nscd: Restart if /etc/hosts changes

This commit is contained in:
Eelco Dolstra 2013-06-11 16:15:24 +02:00
parent b3f04718cf
commit 4b0d6a0759

View file

@ -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";