# VPS one-pager cheat sheet

## Restart commands
- Hermes: `systemctl restart hermes-gateway` (auto-restart enabled)
- OpsMan: `systemctl restart clawdbot-opsman`
- Rivet voice: `systemctl restart rivet-voice`

## Status / logs
- All services: `systemctl --type=service --state=active | grep -E "hermes|claw|rivet"`
- Hermes logs: `journalctl -u hermes-gateway -n 100 --no-pager`
- OpsMan logs: `journalctl -u clawdbot-opsman -n 100 --no-pager`
- Watchdog: `tail /var/log/hermes-watchdog.log`
- Daily health: `ls /home/ccuser/opsman-work/health-log/`

## Configs
- Hermes: `/root/.hermes/config.yaml`, `/root/.hermes/.env`
- OpsMan: `/root/.clawdbot-opsman/openclaw.json`
- Backups: `/root/.config-backups/` (daily auto, 7-day retention)

## Rollback in 30s
- Bad Hermes config → `cp /root/.config-backups/hermes-config.<TS>.yaml /root/.hermes/config.yaml && systemctl restart hermes-gateway`
- Bad OpsMan config → same pattern with opsman-openclaw.json
- Hermes systemd drop-in → `rm /etc/systemd/system/hermes-gateway.service.d/override.conf && systemctl daemon-reload && systemctl restart hermes-gateway`

## Known pain points
- `hostel-campaign` PM2 process restarts in a tight loop — disabled, do not re-enable without diagnosing
- `/root/.openclaw.retired.20260501/` — schedule final delete for 2026-05-08
- Hermes is 186 commits behind v0.11.0 — do not auto-update

## Emergency contacts
- DigitalOcean console: log in if SSH dies
- Tailscale: do NOT use exit-node mode on the VPS — breaks SSH
- Telegram alert bot: @opsman_watchdogbot (alerts Rocky on Hermes downtime)
