ollama/cmd/launch
Bruce MacDonald 856c047a6c
cmd/launch: skip --install-daemon when systemd is unavailable (#14883)
In container environments without systemd, `openclaw onboard
--install-daemon` exits non-zero because it cannot create a systemd
user service. This causes `ollama launch openclaw` to abort even
though the gateway can be started as a foreground child process.

Only pass --install-daemon when systemd user services are reachable
(Linux with /run/systemd/system present and XDG_RUNTIME_DIR set).
On all other platforms the flag is still included by default.
2026-03-16 13:50:04 -07:00
..
claude.go launch: add compact window for claude code (#14823) 2026-03-13 12:09:23 -07:00
claude_test.go launch: add compact window for claude code (#14823) 2026-03-13 12:09:23 -07:00
cline.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
cline_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
codex.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
codex_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
command_test.go launch: fix headless --yes integration flow and policy scoping (#14815) 2026-03-13 11:45:36 -07:00
droid.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
droid_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
integrations_test.go cmd: TUI model ordering (#14814) 2026-03-13 10:19:22 -07:00
launch.go launch: remove warning for default policy (#14830) 2026-03-13 15:01:38 -07:00
launch_test.go launch: fix headless --yes integration flow and policy scoping (#14815) 2026-03-13 11:45:36 -07:00
models.go cmd/launch: add guards for headless mode (#14837) 2026-03-14 00:10:02 -07:00
openclaw.go cmd/launch: skip --install-daemon when systemd is unavailable (#14883) 2026-03-16 13:50:04 -07:00
openclaw_test.go config: use native OpenClaw Ollama onboarding (#14829) 2026-03-13 16:28:40 -07:00
opencode.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
opencode_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
pi.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
pi_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
registry.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
registry_test_helpers_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
runner_exec_only_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
selector_hooks.go launch: fix headless --yes integration flow and policy scoping (#14815) 2026-03-13 11:45:36 -07:00
selector_test.go launch: fix headless --yes integration flow and policy scoping (#14815) 2026-03-13 11:45:36 -07:00
test_config_helpers_test.go cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00