align / code /deploy /systemd /align-hostguard.service
viai957's picture
Add files using upload-large-folder tool
63f41a6 verified
Raw History Blame Contribute Delete
368 Bytes
[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