| [Unit] | |
| Description=Hy3 vLLM health watchdog (auto-restart on death) | |
| # After=hy3-stack: at boot don't poll until the stack's start script returns | |
| # (weight load + marlin repack + profiling ~11 min), else the failure threshold | |
| # fires mid-init and stops the starting stack. | |
| After=network-online.target docker.service hy3-stack.service | |
| Wants=network-online.target | |
| [Service] | |
| Type=simple | |
| User=jon | |
| Group=jon | |
| SupplementaryGroups=docker | |
| Environment=HOME=/home/jon | |
| WorkingDirectory=/home/jon/hy3-serve | |
| ExecStart=/home/jon/hy3-serve/watchdog.sh | |
| Restart=always | |
| RestartSec=15 | |
| [Install] | |
| WantedBy=multi-user.target | |