computer-playbook/roles/server_native-docker-compose-restart-unhealthy/templates/docker-compose-restart-unhealthy.service.j2

8 lines
222 B
Plaintext
Raw Normal View History

[Unit]
Description=restart unhealthy docker containers
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
2023-04-18 15:41:14 +02:00
ExecStart=/bin/python {{docker_docker_compose_restart_unhealthy}}server_docker-compose-restart-unhealthy.py