From f18f5efa70ee54a62a152d3ffd506870eaa7125f Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 3 Feb 2024 16:40:07 -0800 Subject: [PATCH] Try to ensure authentik is running... --- authentik-container.nix | 4 ++++ 1 file changed, 4 insertions(+) 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; + }; }; };