openclaw/src/daemon
Vincent Koc 53b2479eed
Fix Linux daemon install checks when systemd user bus env is missing (#34884)
* daemon(systemd): fall back to machine user scope when user bus is missing

* test(systemd): cover machine scope fallback for user-bus errors

* test(systemd): reset execFile mock state across cases

* test(systemd): make machine-user fallback assertion portable

* fix(daemon): keep root sudo path on direct user scope

* test(systemd): cover sudo root user-scope behavior

* ci: use resolvable bun version in setup-node-env
2026-03-04 11:54:03 -08:00
..
arg-split.ts refactor(daemon): share quoted arg splitter 2026-02-15 12:49:30 +00:00
cmd-argv.test.ts refactor(daemon): extract windows cmd argv helpers 2026-02-19 16:22:28 +01:00
cmd-argv.ts refactor(daemon): extract windows cmd argv helpers 2026-02-19 16:22:28 +01:00
cmd-set.ts refactor(daemon): extract windows cmd argv helpers 2026-02-19 16:22:28 +01:00
constants.test.ts doctor: clean up legacy Linux gateway services (#21188) 2026-02-22 19:18:59 -05:00
constants.ts doctor: clean up legacy Linux gateway services (#21188) 2026-02-22 19:18:59 -05:00
diagnostics.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
exec-file.ts refactor: dedupe daemon exec wrappers 2026-02-15 03:53:53 +00:00
inspect.test.ts refactor(daemon): share runtime and service probe helpers 2026-02-22 21:19:09 +00:00
inspect.ts refactor(daemon): share runtime and service probe helpers 2026-02-22 21:19:09 +00:00
launchd-plist.ts fix(launchd): set restrictive umask in gateway plist 2026-03-02 18:38:56 +00:00
launchd.integration.e2e.test.ts test: move integration-heavy suites to e2e lane 2026-03-02 05:33:07 +00:00
launchd.test.ts fix(launchd): set restrictive umask in gateway plist 2026-03-02 18:38:56 +00:00
launchd.ts fix(daemon): stabilize LaunchAgent restart and proxy env passthrough (#27276) 2026-02-26 02:40:48 -05:00
node-service.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
output.ts refactor(daemon): dedupe install output line writing 2026-02-18 23:58:05 +00:00
paths.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
program-args.test.ts revert: Switch back to `tsc` for compiling. 2026-01-31 18:31:49 +09:00
program-args.ts refactor(daemon): share runtime and service probe helpers 2026-02-22 21:19:09 +00:00
runtime-binary.test.ts refactor(daemon): unify runtime binary detection 2026-02-26 22:39:05 +01:00
runtime-binary.ts refactor(daemon): unify runtime binary detection 2026-02-26 22:39:05 +01:00
runtime-format.ts refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
runtime-parse.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
runtime-paths.test.ts fix(daemon): handle versioned node@XX Homebrew formulas in Cellar resolution 2026-03-02 22:37:09 +00:00
runtime-paths.ts refactor: split slack/discord/session maintenance helpers 2026-03-02 23:07:20 +00:00
schtasks-exec.ts refactor: dedupe daemon exec wrappers 2026-02-15 03:53:53 +00:00
schtasks.install.test.ts test(daemon): dedupe schtasks install fixture and cover empty env omission 2026-02-21 21:40:39 +00:00
schtasks.test.ts fix(gateway): avoid stale running status from Windows Scheduled Task (openclaw#19504) thanks @Fologan 2026-03-02 08:12:24 -06:00
schtasks.ts fix(gateway): avoid stale running status from Windows Scheduled Task (openclaw#19504) thanks @Fologan 2026-03-02 08:12:24 -06:00
service-audit.test.ts fix(ci): restore main lint/typecheck after direct merges 2026-02-16 23:26:11 +00:00
service-audit.ts refactor(daemon): share runtime and service probe helpers 2026-02-22 21:19:09 +00:00
service-env.test.ts refactor: modularize slack/config/cron/daemon internals 2026-03-02 22:30:21 +00:00
service-env.ts refactor: modularize slack/config/cron/daemon internals 2026-03-02 22:30:21 +00:00
service-runtime.ts refactor: dedupe cli config cron and install flows 2026-03-02 19:57:33 +00:00
service-types.ts refactor(daemon): share service arg types across backends 2026-02-19 10:04:19 +00:00
service.ts refactor(daemon): simplify gateway service backend delegates 2026-02-19 10:04:19 +00:00
systemd-hints.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
systemd-linger.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
systemd-unit.test.ts fix: kill stuck ACP child processes on startup and harden sessions in discord threads (#33699) 2026-03-04 10:52:28 +01:00
systemd-unit.ts fix: kill stuck ACP child processes on startup and harden sessions in discord threads (#33699) 2026-03-04 10:52:28 +01:00
systemd.test.ts Fix Linux daemon install checks when systemd user bus env is missing (#34884) 2026-03-04 11:54:03 -08:00
systemd.ts Fix Linux daemon install checks when systemd user bus env is missing (#34884) 2026-03-04 11:54:03 -08:00