Files
Alex NaidisandAyaan Zaidi b810a28a4a docs(gateway): warn that installation starts the service (#139562)
## What Problem This Solves

Gateway and daemon install help omitted that installation starts the service and that forced reinstallation may restart a running Gateway. Operators could activate the service before finishing offline configuration or runtime repairs.

## Why This Change Was Made

State those effects in the shared install help, Gateway CLI index, and daemon reference. Tell operators to finish offline configuration and runtime repairs before installation. Service behavior, public options, and the private updater handoff stay unchanged.

This retains @TheCrazyLex's activation-help contribution and commit ancestry. The separate Doctor, user-bus, and systemd drop-in diagnosis changes remain outside this repair; [PR #137647](https://github.com/openclaw/openclaw/pull/137647) owns that work.

## User Impact

Operators reading install help or the updated reference pages can see the activation risk before running the command. The linked Gateway service guide remains unchanged, so direct visitors to that page can still miss the index notice.

## Evidence

- Actual `pnpm openclaw gateway install --help` and `pnpm openclaw daemon install --help` on pinned main omit startup and restart effects. Both commands on `4d802b78fb94344d2dac839663d94053cad348d5` display the corrected descriptions and preserve the existing public options.
- The official Mintlify preview renders the Gateway index, daemon reference, and linked service guide on baseline and candidate. Inspected before/after screenshots, full article text and HTML, and browser results confirm the new visible warnings on the two updated pages. No browser errors were recorded.
- The 36 focused registration tests remain valid for unchanged test and implementation inputs. Fresh formatting, syntax lint, both changed pages' MDX checks, and the 13,190-link audit pass. Independent source and behavior reviews agree within the stated scope.
- Native launchd, systemd, and Scheduled Task owners were source-audited. Proof executed help and documentation preview only; no Gateway service installation or lifecycle action was run.

The preview retains its existing missing ClawHub-mirror and inactive-search warnings. Mobile layout, search, expanded service-guide panels, and published-site deployment are outside this proof.

The screenshot links require authenticated GitHub access in the verified retrieval path; anonymous requests returned 404. All four authenticated downloads matched the original inspected PNG bytes. Complete local images are retained for independent review.

<details>
<summary>Gateway documentation preview</summary>

| Before | After |
| --- | --- |
| ![Gateway index before the activation warning](https://github.com/user-attachments/assets/4f7c2b09-1b9d-49ea-8c2e-e708932812ab) | ![Gateway index with the activation and offline-preparation warning](https://github.com/user-attachments/assets/b3518e85-bf38-4111-8a29-08408415eaee) |

</details>

<details>
<summary>Daemon documentation preview</summary>

| Before | After |
| --- | --- |
| ![Daemon reference before the activation warning](https://github.com/user-attachments/assets/6e22d0f9-85fb-4f1f-8880-a520feca08aa) | ![Daemon reference with the activation and offline-preparation warning](https://github.com/user-attachments/assets/6c1d5e45-77de-449d-b477-03eeb4a0b32c) |

</details>

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-09-10 17:23:20 +05:30

11 KiB

summary, read_when, title, sidebarTitle
summary read_when title sidebarTitle
OpenClaw Gateway CLI (`openclaw gateway`) — run, query, and discover gateways
Running the Gateway from the CLI (dev or servers)
Debugging Gateway auth, bind modes, and connectivity
Discovering gateways via Bonjour (local + wide-area DNS-SD)
Integrating an external Gateway process supervisor
Gateway Gateway

The Gateway is OpenClaw's WebSocket server (channels, nodes, sessions, hooks). All subcommands on the pages listed here live under openclaw gateway ....

openclaw daemon ... is a legacy alias for the service-control subcommands; see openclaw daemon.

Local mDNS + wide-area DNS-SD setup. How OpenClaw advertises and finds gateways. Top-level gateway config keys.

Gateway CLI pages

This page is an index. Five pages document openclaw gateway, one per reader job. Open the page that matches your task.

Page Read it when
Run the Gateway You are starting the Gateway, tuning its run options, or reading its shared token.
Restart and supervision You are restarting the Gateway, or an external supervisor owns its lifecycle.
Query a running Gateway You want health, status, stability, diagnostics, or a direct RPC call.
Manage the Gateway service You are installing, starting, stopping, or repairing the native service.
Discover gateways (Bonjour) You are looking for gateways over mDNS or wide-area DNS-SD.

openclaw gateway install installs and starts the service. --force reinstalls an existing install and may restart a running Gateway. Finish offline configuration and runtime repairs before installation.

Where each section moved

Every anchor from the previous single-page version still resolves here, so an existing link such as /cli/gateway#manage-the-gateway-service keeps working. Each entry points at the page that now holds the content.

Option, tab, and panel anchors: