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

8 lines
190 B
Plaintext
Raw Normal View History

[Unit]
Description=restart unhealthy docker containers
2023-05-28 22:17:33 +02:00
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
2023-11-16 18:42:39 +01:00
ExecStart=/bin/python {{docker_compose_restart_unhealthy}}heal-docker.py