From 6a51b09f8c1826e92be5081faea0389c069ce9d1 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 11 Feb 2024 19:52:11 +0100 Subject: [PATCH] cluster/services/attic: auto-restart atticd --- cluster/services/attic/server.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/services/attic/server.nix b/cluster/services/attic/server.nix index 1c2fa61..812614e 100644 --- a/cluster/services/attic/server.nix +++ b/cluster/services/attic/server.nix @@ -72,6 +72,8 @@ in after = [ "postgresql.service" ]; serviceConfig = { DynamicUser = lib.mkForce false; + Restart = "on-failure"; + RestartSec = "10s"; }; environment = { AWS_SHARED_CREDENTIALS_FILE = config.age.secrets.atticS3Credentials.path;