Add some redundancy to 9iron backups

This commit is contained in:
Salt 2020-09-23 20:37:03 -05:00
parent 2c7af24213
commit 75e152b5bf

View File

@ -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