diff options
| author | Max Audron <audron@cocaine.farm> | 2026-01-07 15:28:01 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2026-01-07 15:28:01 +0100 |
| commit | 84739ac2345265e518a50bc2e9a239eb442e6e22 (patch) | |
| tree | e289c856e5465f0c713e97a0ba86e1f734c3484e /modules/backup/web.nix | |
| parent | add kopia module (diff) | |
setup backups for mail
Diffstat (limited to 'modules/backup/web.nix')
| -rw-r--r-- | modules/backup/web.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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"; }; }; |
