Skip to content

Commit

Permalink
Merge pull request #154620 from NixOS/backport-154320-to-release-21.11
Browse files Browse the repository at this point in the history
[Backport release-21.11] nscd service: fix ordering and start automatically
  • Loading branch information
dasJ authored Jan 30, 2022
2 parents 0f316e4 + b7d57ed commit f045ae5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/modules/services/system/nscd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ in
systemd.services.nscd =
{ description = "Name Service Cache Daemon";

wantedBy = [ "nss-lookup.target" "nss-user-lookup.target" ];
before = [ "nss-lookup.target" "nss-user-lookup.target" ];
wants = [ "nss-lookup.target" "nss-user-lookup.target" ];
wantedBy = [ "multi-user.target" ];

environment = { LD_LIBRARY_PATH = nssModulesPath; };

Expand Down

0 comments on commit f045ae5

Please sign in to comment.