Jacob Babor
b250ce9dc8
This should help alleviate some of the problems I've been having with Backblaze's accessibility during peak backup hours
18 lines
290 B
Desktop File
18 lines
290 B
Desktop File
# vim:ft=systemd
|
|
[Unit]
|
|
Description=Nightly backup service
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
StartLimitInterval=600
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
MemoryMax=256M
|
|
ExecStart=/opt/backup.sh
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|