mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-24 03:05:03 +01:00
8 lines
208 B
Django/Jinja
8 lines
208 B
Django/Jinja
[Unit]
|
|
Description=restart unhealthy docker containers
|
|
OnFailure=systemd-email@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/python {{docker_compose_restart_unhealthy}}docker-compose-restart-unhealthy.py
|