#!/bin/bash set -e OPENCLAW_PORT="${OPENCLAW_PORT:-18789}" OPENCLAW_DATA_DIR="${OPENCLAW_DATA_DIR:-/data/openclaw}" echo "Starting OpenClaw gateway on port $OPENCLAW_PORT..." echo "Data directory: $OPENCLAW_DATA_DIR" echo "Web UI: http://localhost:$OPENCLAW_PORT" cd "$OPENCLAW_DATA_DIR" exec openclaw gateway --port "$OPENCLAW_PORT" --verbose