Runbook: Restart Services
Restart OpenClaw Gateway
Windows (DEEPCOOL)
# Stop
schtasks /End /TN "OpenClaw Gateway"
# Or force kill
taskkill /F /PID $(netstat -ano | findstr :18888 | awk '{print $5}' | head -1)
# Start
cd D:\Projects\openclaw\openclaw
node openclaw.mjs gateway --verbose
Restart as Scheduled Task
schtasks /End /TN "OpenClaw Gateway"
schtasks /Run /TN "OpenClaw Gateway"
Restart Cloudflare Tunnel
Windows
# Kill existing
taskkill /F /IM cloudflared.exe
# Restart
cloudflared tunnel run openclaw
If installed as service
# Restart the service
net stop Cloudflared
net start Cloudflared
Restart Everything (Full Stack)
# 1. Stop OpenClaw
schtasks /End /TN "OpenClaw Gateway"
taskkill /F /IM node.exe
# 2. Stop tunnel
taskkill /F /IM cloudflared.exe
# 3. Wait
sleep 3
# 4. Rebuild if needed
cd D:\Projects\openclaw\openclaw
pnpm build
# 5. Start OpenClaw
node openclaw.mjs gateway --verbose &
# 6. Start tunnel
cloudflared tunnel run openclaw &
# 7. Verify
sleep 10
curl -s -o /dev/null -w "%{http_code}" https://openclaw-deepcool.bigleagueinc.com/
# Expected: 302
Health Checks
# Local gateway
curl -s http://127.0.0.1:18888/
# Remote (through tunnel + access)
curl -s -o /dev/null -w "%{http_code}" https://openclaw-deepcool.bigleagueinc.com/
# 302 = Access auth working, gateway up
# 000 = Tunnel down or DNS issue
# 502 = Tunnel up but gateway down