openclaw/src
Dave Lauer ac8c1f19bc fix: set WorkingDirectory in systemd service for control UI assets
The systemd service file was generated without a WorkingDirectory directive,
causing the control UI to fail with "Control UI assets not found" because
the gateway process ran with cwd set to the user's home directory instead
of the repo/package root.

The resolveControlUiRoot() function uses process.cwd() as a fallback for
finding dist/control-ui, which failed when cwd was wrong.

This fix derives workingDirectory from the CLI entrypoint path for all
production runtime paths (node, bun, auto) so that `moltbot gateway install`
and `moltbot doctor --repair` generate service files with the correct
WorkingDirectory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 11:30:36 -05:00
..
acp refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agents refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
auto-reply refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
browser refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
canvas-host chore: update a2ui bundle hash 2026-01-27 13:00:02 +00:00
channels refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
cli fix: load config from moltbot and legacy dirs 2026-01-27 12:49:07 +00:00
commands refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
compat refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
config chore: normalize io compat test newline 2026-01-27 12:49:23 +00:00
cron refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
daemon fix: set WorkingDirectory in systemd service for control UI assets 2026-01-27 11:30:36 -05:00
discord refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
docs bugfix:The Mintlify navbar (logo + search bar with ⌘K) scrolls away w… (#2445) 2026-01-26 17:39:10 -08:00
gateway refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
hooks refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
imessage refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
infra refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
line refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
link-understanding refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logging refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
macos refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
markdown refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
media refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
media-understanding refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
node-host refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
pairing refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugin-sdk refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugins refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
process fix: harden exec spawn fallback 2026-01-25 06:37:39 +00:00
providers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
routing refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
scripts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
security refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
shared/text fix: unify reasoning tags + agent ids (#1613) (thanks @kyleok) (#1629) 2026-01-24 19:56:02 +00:00
signal refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
terminal chore: update molt.bot domains 2026-01-27 12:21:01 +00:00
test-helpers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
test-utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
tts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tui refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
types TTS: gate auto audio on inbound voice notes (#1667) 2026-01-25 04:35:20 +00:00
utils refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
whatsapp refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
wizard refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
channel-web.barrel.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
channel-web.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
docker-setup.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
entry.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
git-hooks.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
globals.test.ts
globals.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
index.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
index.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
logging.ts fix: unblock bundled plugin load 2026-01-18 19:34:21 +00:00
polls.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
polls.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
postinstall-patcher.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
runtime.ts perf: speed up memory batch polling 2026-01-18 03:55:14 +00:00
utils.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
utils.ts refactor: centralize config update logging 2026-01-23 04:01:26 +00:00
version.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00