ansible/roles/backup/templates/backup.service

14 lines
217 B
Desktop File

# vim:ft=systemd
[Unit]
Description=Nightly backup service
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
MemoryMax=256M
ExecStart=/opt/backup.sh
[Install]
WantedBy=multi-user.target