docs(readme): 调试模式用 gateway run(前台)非 gateway start - #459
Merged
bigbrother666sh merged 1 commit intoJul 22, 2026
Merged
Conversation
gateway start/stop/restart 是走 launchd/systemd/schtasks 的服务管理命令, gateway run 才是前台单次启动(调试用)。原 README 把 gateway start 当成前台 调试命令,在 managed install 下会启服务而非前台跑,误导。
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
核实 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。