You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aaadcd7
Browse filesBrowse the repository at this point in the historyBrowse files
`--json` is accepted before or after every subcommand (for example, `daemon --json status` and `daemon status --json`).
36
36
37
37
-`status`: shows service install state (launchd/systemd/schtasks) and probes Gateway health.
38
+
-`status --port <port>`: selects a local Gateway using the invoking CLI config for auth and TLS. Cannot combine with `--url`; native service details remain diagnostic-only.
38
39
-`install`: installs the service; `--force` reinstalls/overwrites an existing install.
39
40
- Node is the primary, default, and recommended service runtime. Bun 1.4+ with WAL-reset-safe `node:sqlite` is available as an explicit opt-in with `install --runtime bun`.
40
41
-`restart --safe`: asks the running Gateway to preflight active work and schedule one coalesced restart after work drains, bounded to 5 minutes. When that budget expires, the restart is forced anyway. Plain `restart` uses the service manager directly; `--force` is the immediate override.
Copy file name to clipboardExpand all lines: docs/cli/gateway.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,10 +344,14 @@ Shows the Gateway service (launchd/systemd/schtasks) plus an optional connectivi
344
344
openclaw gateway status
345
345
openclaw gateway status --json
346
346
openclaw gateway status --require-rpc
347
+
openclaw gateway status --port 19001
347
348
```
348
349
349
350
<ParamFieldpath="--url <url>"type="string">
350
-
Add an explicit probe target. Configured remote + localhost are still probed.
351
+
Probe this explicit WebSocket URL instead of the service-derived target. Cannot combine with `--port`.
352
+
</ParamField>
353
+
<ParamFieldpath="--port <port>"type="number">
354
+
Select a local Gateway port using the invoking CLI config for auth and TLS. Accepts `gateway --port 19001 status` and `gateway status --port 19001`; an explicit status port wins. Native service details remain visible as diagnostics but do not select the probe target.
0 commit comments