🦀 ClawHub
Gateway Service
by @suncxw-creator
Installs OpenClaw Gateway as a Windows scheduled task to auto-restart on crash and enable automatic startup with admin rights.
TERMINAL
clawhub install gateway-service📖 About This Skill
Gateway 服务化
将 OpenClaw Gateway 安装为 Windows 定时任务(Scheduled Task),实现进程崩溃后自动重启。
安装服务
openclaw gateway install
注意:需要管理员权限运行。
管理命令
| 命令 | 说明 |
|------|------|
| openclaw gateway install | 安装服务(需管理员权限) |
| openclaw gateway start | 启动服务 |
| openclaw gateway stop | 停止服务 |
| openclaw gateway restart | 重启服务 |
| openclaw gateway status | 查看状态 |
服务信息
适用场景
故障排查
1. 查看服务状态:openclaw gateway status
2. 查看日志:%USERPROFILE%\AppData\Local\Temp\openclaw\
3. 手动启动:openclaw gateway start