renamed to heal-docker

This commit is contained in:
2023-11-16 18:42:39 +01:00
parent db112f3efa
commit c913d1f62c
10 changed files with 39 additions and 39 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description=restart unhealthy docker containers
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/python {{docker_compose_restart_unhealthy}}heal-docker.py

View File

@@ -0,0 +1,10 @@
[Unit]
Description=starts heal-docker.service
[Timer]
OnCalendar={{on_calendar_docker_compose_restart_unhealthy}}
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=false
[Install]
WantedBy=timers.target