🦀 ClawHub
OpenClaw Mobile Gateway Installer
by @jason141123-sys
Installs and manages OpenClaw mobile gateway as a system service. Invoke when users need one-command deploy, start, stop, upgrade, or uninstall.
TERMINAL
clawhub install openclaw-mobile-gateway-installer📖 About This Skill
name: "openclaw-mobile-gateway-installer" description: "Installs and manages OpenClaw mobile gateway as a system service. Invoke when users need one-command deploy, start, stop, upgrade, or uninstall."
OpenClaw Mobile Gateway Installer
作用
一键安装并管理 OpenClaw 移动端管理网关,自动注册为 systemd 服务并开机自启。
何时调用
目录结构
backend/: 网关后端源码install.sh: 安装/升级并启动服务check.sh: 服务与健康检查uninstall.sh: 卸载服务与目录使用命令
export OPENCLAW_API_BASE_URL="https://openclaws.example.com"
export OPENCLAW_AUTH_HEADER_NAME="Authorization"
export OPENCLAW_AUTH_HEADER_VALUE="Bearer "
bash ./install.sh
bash ./check.sh
bash ./uninstall.sh
安装后
openclaw-mobile-gateway4800http://127.0.0.1:4800/healthhttp://:4800 常见排查
Cannot GET /api/quick-actions,说明服务端网关版本过旧,重新执行 bash ./install.sh 升级即可。