mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
nscd: use proper systemd.special(7) targets
This commit is contained in:
parent
3456f3b232
commit
244ed6ae71
@ -41,7 +41,7 @@ in
|
||||
boot.systemd.services.nscd =
|
||||
{ description = "Name Service Cache Daemon";
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wantedBy = [ "nss-lookup.target" "nss-user-lookup.target" ];
|
||||
|
||||
environment = { LD_LIBRARY_PATH = nssModulesPath; };
|
||||
|
||||
|
@ -321,7 +321,8 @@ let
|
||||
ln -s ${cfg.defaultUnit} $out/default.target
|
||||
|
||||
#ln -s ../getty@tty1.service $out/multi-user.target.wants/
|
||||
ln -s ../local-fs.target ../remote-fs.target ../network.target ../swap.target $out/multi-user.target.wants/
|
||||
ln -s ../local-fs.target ../remote-fs.target ../network.target ../nss-lookup.target \
|
||||
../nss-user-lookup.target ../swap.target $out/multi-user.target.wants/
|
||||
''; # */
|
||||
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user