computer-playbook/roles/update-docker/templates/update-docker.service.j2

7 lines
220 B
Plaintext
Raw Normal View History

2023-11-16 14:04:42 +01:00
[Unit]
Description=Updates Docker Instances
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/python {{update_docker_script}} {{docker_volume_backup_cleanup_trigger_directory}}'