1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

nslcd nixos service: Should be wantedBy multi-user, otherwise not started if activated on running server (only starts on bootup)

This commit is contained in:
Rickard Nilsson 2014-08-08 17:40:03 +02:00
parent 45b9b6f2cf
commit a01862a4b6

View file

@ -217,9 +217,7 @@ in
systemd.services = mkIf cfg.daemon.enable {
nslcd = {
wantedBy = [ "nss-user-lookup.target" ];
before = [ "nss-user-lookup.target" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p /run/nslcd