[Unit]
Description=Restart Docker containers stuck in unhealthy state
Documentation=file:///usr/local/bin/docker-health-watchdog.sh
After=docker.service
Requires=docker.service

[Service]
Type=oneshot
User=root
Group=root
Environment="HERMES_HOME=/root/.hermes"
ExecStart=/usr/local/bin/docker-health-watchdog.sh
