diff --git a/roles/base-backups/templates/9iron-backup.service b/roles/base-backups/templates/9iron-backup.service index 888ff21..034f56a 100644 --- a/roles/base-backups/templates/9iron-backup.service +++ b/roles/base-backups/templates/9iron-backup.service @@ -1,11 +1,14 @@ # vim:ft=dosini: [Unit] Description=9iron backup service +StartLimitIntervalSec=3600 +StartLimitBurst=5 [Service] -Type=oneshot MemoryMax=256M ExecStart=/opt/backups/backup.sh +Restart=on-failure +RestartSec=90 [Install] WantedBy=multi-user.target