Add some redundancy to 9iron backups
This commit is contained in:
parent
2c7af24213
commit
75e152b5bf
@ -1,11 +1,14 @@
|
|||||||
# vim:ft=dosini:
|
# vim:ft=dosini:
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=9iron backup service
|
Description=9iron backup service
|
||||||
|
StartLimitIntervalSec=3600
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
|
||||||
MemoryMax=256M
|
MemoryMax=256M
|
||||||
ExecStart=/opt/backups/backup.sh
|
ExecStart=/opt/backups/backup.sh
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=90
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user