Skip to content

Commit

Permalink
Merge pull request #42569 from spacefrogg/nscd-fix
Browse files Browse the repository at this point in the history
resolvconf.conf: Remove forced NSCD service restart
  • Loading branch information
matthewbauer authored Jul 6, 2018
2 parents ce2f8bf + d8c16bc commit 2b4d722
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nixos/modules/config/networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ in
# a collision with an apparently unrelated environment
# variable with the same name exported by dhcpcd.
interface_order='lo lo[0-9]*'
'' + optionalString config.services.nscd.enable ''
# Invalidate the nscd cache whenever resolv.conf is
# regenerated.
libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
'' + optionalString (length resolvconfOptions > 0) ''
# Options as described in resolv.conf(5)
resolv_conf_options='${concatStringsSep " " resolvconfOptions}'
Expand Down

0 comments on commit 2b4d722

Please sign in to comment.