diff --git a/authentik-container.nix b/authentik-container.nix index c9a4215..21620fc 100644 --- a/authentik-container.nix +++ b/authentik-container.nix @@ -101,6 +101,10 @@ in { services.arion-authentik = { after = [ "network-online.target" "podman.service" ]; requires = [ "network-online.target" "podman.service" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = 120; + }; }; };