computer-playbook/roles/backups-consumer/templates/pull-remote-backups.service.j2

8 lines
224 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_pull_primary_backups_folder}}pull-remote-backups.sh