computer-playbook/roles/docker-volume-backup/templates/docker-volume-backup.service.j2

7 lines
182 B
Django/Jinja

[Unit]
Description=docker volume backup
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python {{docker_volume_backup_folder}}docker-volume-backup.py