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

7 lines
179 B
Django/Jinja

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