Comandos Gateway — Servidor OpenClaw

Comandos Gateway

O gateway é o servidor central do OpenClaw.

Iniciar/Parar

# Iniciar
openclaw gateway start

# Parar
openclaw gateway stop

# Reiniciar
openclaw gateway restart

# Status
openclaw gateway status

Modos

# Modo foreground (debug)
openclaw gateway --verbose

# Com porta específica
openclaw gateway --port 18789

# Bind em LAN (acesso remoto)
openclaw gateway --bind lan

Logs

# Ver logs
journalctl --user -u openclaw-gateway -f

# Últimas 100 linhas
journalctl --user -u openclaw-gateway -n 100

Configuração

# Ver configuração atual
openclaw config get

# Editar
nano ~/.openclaw/config.yaml

Diagnóstico

# Verificar problemas
openclaw doctor

# Reparar
openclaw doctor --repair

# Health check
openclaw health