From af152556e3d23ff0285691b60870ef6ea7813df6 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 5 Mar 2013 19:44:12 +0100 Subject: [PATCH] nslcd: Require network.target --- modules/config/ldap.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/config/ldap.nix b/modules/config/ldap.nix index 603ad8407cd1..0054f08d4391 100644 --- a/modules/config/ldap.nix +++ b/modules/config/ldap.nix @@ -223,6 +223,8 @@ mkIf cfg.enable { systemd.services = mkIf cfg.daemon.enable { nslcd = { wantedBy = [ "nss-user-lookup.target" ]; + wants = [ "network.target" ]; + after = [ "network.target" ]; path = [ nss_pam_ldapd ];