2020-12-24 09:06:20 -06:00
|
|
|
# vim:ft=systemd
|
|
|
|
[Unit]
|
|
|
|
Description=Nightly backup service
|
2021-01-16 23:19:28 -06:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2020-12-24 09:06:20 -06:00
|
|
|
|
|
|
|
[Service]
|
2021-01-16 23:47:29 -06:00
|
|
|
Type=oneshot
|
2020-12-24 09:06:20 -06:00
|
|
|
MemoryMax=256M
|
|
|
|
ExecStart=/opt/backup.sh
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|