Gateway Guardian
Daemon that monitors OpenClaw gateway, auto-restarts it on failure, and logs events with configurable intervals on macOS and Linux.
Gateway Guardian
Watchdog daemon that monitors and auto-restarts OpenClaw gateway.
Usage
./guardian.sh
Run as background daemon:
nohup ./guardian.sh &
Features
- Monitors gateway process health
- Auto-restarts on crash
- Configurable check interval
- Logs restart events
- Works on macOS and Linux
Configuration
Edit guardian.sh to customize:
- CHECK_INTERVAL: seconds between checks (default: 30)
- MAX_RESTARTS: max restarts before alerting (default: 5)
- LOG_FILE: where to log events
Requirements
- OpenClaw installed
- Bash shell
- Downloads
- 1.6kAll time
- Security audit
- Review
- Last updated
- 6mo ago
- Current version
- v1.0.0
- License
- MIT-0
