diff --git a/module.nix b/module.nix index 26722fc..5fb5291 100644 --- a/module.nix +++ b/module.nix @@ -231,6 +231,7 @@ in DynamicUser = true; ExecStart = "${config.services.authentik.authentikComponents.gopkgs}/bin/ldap"; EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; + Restart = "on-failure"; }; }; }))