computer-playbook/roles/backup-remote-to-local/templates/backup-remote-to-local.service.j2
2023-11-17 23:34:50 +01:00

8 lines
230 B
Django/Jinja

[Unit]
Description=pull remote backups
OnFailure=systemd-notifier@%n.service cleanup-failed-docker-backups.service
[Service]
Type=oneshot
ExecStart=/usr/bin/bash {{docker_backup_remote_to_local_folder}}backups-remote-to-local.sh