about summary refs log tree commit diff
path: root/nixos/modules/services/databases/lldap.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/databases/lldap.nix')
-rw-r--r--nixos/modules/services/databases/lldap.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/databases/lldap.nix b/nixos/modules/services/databases/lldap.nix
index d1574c98fe67f..e821da8e58aa3 100644
--- a/nixos/modules/services/databases/lldap.nix
+++ b/nixos/modules/services/databases/lldap.nix
@@ -104,6 +104,7 @@ in
   config = lib.mkIf cfg.enable {
     systemd.services.lldap = {
       description = "Lightweight LDAP server (lldap)";
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
       wantedBy = [ "multi-user.target" ];
       serviceConfig = {