diff options
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"; }; }; |
