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