Commit e3700dc
authored
fix(install): use gateway service instead of foreground run, add completion hints (#1406)
## 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](https://cursor.com)2 files changed
+29
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
0 commit comments