Skip to content

Commit

Permalink
Merge pull request #154320 from abbradar/nscd-unit
Browse files Browse the repository at this point in the history
nscd service: fix ordering and start automatically
  • Loading branch information
flokli authored Jan 11, 2022
2 parents b24992b + b451eca commit 2d9eea6
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 2d9eea6

Please sign in to comment.