From 84739ac2345265e518a50bc2e9a239eb442e6e22 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Wed, 7 Jan 2026 15:28:01 +0100 Subject: setup backups for mail --- modules/backup/web.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/backup/web.nix') diff --git a/modules/backup/web.nix b/modules/backup/web.nix index 9937315..b89d0a9 100644 --- a/modules/backup/web.nix +++ b/modules/backup/web.nix @@ -64,8 +64,10 @@ in Restart = "on-failure"; # wait 30 seconds before restarting RestartSec = "30"; + }; + unitConfig = { # limit the number of restarts to 5 in 1 day - StartLimitIntervalSec = "1d"; + StartLimitInterval = "1d"; StartLimitBurst = "5"; }; }; -- cgit v1.2.3