File size: 368 Bytes
63f41a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=align host watchdog (host CPU <= 92%, memory, D-state, GPU temp, disk)
After=default.target

[Service]
Type=simple
ExecStart=/apps/development/rlhf/align/.venv/bin/python /apps/development/rlhf/align/scripts/hostguard.py watch
Restart=always
RestartSec=5
CPUWeight=1000
MemoryMax=1G
Environment=PYTHONUNBUFFERED=1

[Install]
WantedBy=default.target