Skip to content

docs(readme): 调试模式用 gateway run(前台)非 gateway start - #459

Merged
bigbrother666sh merged 1 commit into
TeamWiseFlow:masterfrom
bigbrother666sh:docs/readme-gateway-run-foreground
Jul 22, 2026
Merged

docs(readme): 调试模式用 gateway run(前台)非 gateway start#459
bigbrother666sh merged 1 commit into
TeamWiseFlow:masterfrom
bigbrother666sh:docs/readme-gateway-run-foreground

Conversation

@bigbrother666sh

Copy link
Copy Markdown
Member

核实 openclaw 源码(src/cli/daemon-cli/register-service-commands.ts):
gateway start/stop/restart 走 launchd/systemd/schtasks 服务管理;
gateway run(src/cli/gateway-cli/register.ts:519 "Run the WebSocket Gateway (foreground)")才是前台单次启动。

原 README「调试模式(单次启动,适合测试):gateway start」把服务启动命令当成前台调试,在 managed install 下会启服务(和 launchd 打架/重复启)而非前台跑。改成 gateway run

换绑流程里的 gateway stop / gateway start 是对的(清完 weixin 数据后重启服务),不动。

Auto Release 已禁用,不 bump 版本,保持 v5.6.0。README 走 raw URL,无需重建 tarball。

gateway start/stop/restart 是走 launchd/systemd/schtasks 的服务管理命令,
gateway run 才是前台单次启动(调试用)。原 README 把 gateway start 当成前台
调试命令,在 managed install 下会启服务而非前台跑,误导。
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


codes-factory-of-bg seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@bigbrother666sh
bigbrother666sh merged commit 543438b into TeamWiseFlow:master Jul 22, 2026
2 of 3 checks passed
@bigbrother666sh
bigbrother666sh deleted the docs/readme-gateway-run-foreground branch July 22, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants