diff options
| author | Janne Heß <janne@hess.ooo> | 2022-01-30 16:55:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-30 16:55:29 +0100 |
| commit | f045ae5cdd2299013168424e9a6e43448c811697 (patch) | |
| tree | 46aca187d498f86acf6a62de5782f2c51591b096 | |
| parent | Merge pull request #157159 from NixOS/backport-149448-to-release-21.11 (diff) | |
| parent | nscd service: fix ordering and start automatically (diff) | |
| download | nixpkgs-f045ae5cdd2299013168424e9a6e43448c811697.tar.gz | |
Merge pull request #154620 from NixOS/backport-154320-to-release-21.11
[Backport release-21.11] nscd service: fix ordering and start automatically
| -rw-r--r-- | nixos/modules/services/system/nscd.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/system/nscd.nix b/nixos/modules/services/system/nscd.nix index d720f254b813..00a87e788dc4 100644 --- a/nixos/modules/services/system/nscd.nix +++ b/nixos/modules/services/system/nscd.nix @@ -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; }; |
