Skip to content

fix(install): use gateway service instead of foreground run, add completion hints#1406

Merged
hijzy merged 1 commit intoMemTensor:mainfrom
hijzy:fix/install-gateway-service
Apr 2, 2026
Merged

fix(install): use gateway service instead of foreground run, add completion hints#1406
hijzy merged 1 commit intoMemTensor:mainfrom
hijzy:fix/install-gateway-service

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented Apr 2, 2026

Summary

  • Replace foreground gateway run with background service: Use openclaw gateway install + openclaw gateway start instead of exec npx openclaw gateway run. The gateway now runs as a system background service (launchd/systemd/schtasks), so the install script exits cleanly and Ctrl+C won't kill the gateway.
  • Add post-install hints: Show the user OpenClaw Web UI (http://localhost:<port>) and Memory Viewer (http://localhost:18799) URLs after installation completes.

Files changed

  • apps/memos-local-openclaw/install.sh
  • apps/memos-local-openclaw/install.ps1

Test plan

  • Run bash install.sh --version <version> — verify script exits after installation
  • Verify gateway is running as a background service after script exits
  • Verify Web UI and Memory Viewer URLs are displayed at the end
  • Ctrl+C during the install process does not leave gateway in a broken state

Made with Cursor

…letion hints

- Replace `exec npx openclaw gateway run` with `gateway install` + `gateway start`
  so the gateway runs as a background system service (launchd/systemd/schtasks)
- Script now exits cleanly; Ctrl+C no longer kills the gateway
- Add post-install message showing OpenClaw Web UI and Memory Viewer URLs

Made-with: Cursor
@hijzy hijzy merged commit e3700dc into MemTensor:main Apr 2, 2026
16 checks passed
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.

1 participant