File size: 603 Bytes
370d886
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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