AI Navigate

v0.18.1-rc0: cmd/launch: skip --install-daemon when systemd is unavailable (#14883)

Ollama Releases / 3/17/2026

📰 NewsDeveloper Stack & InfrastructureTools & Practical Usage

Key Points

  • In container environments where systemd is unavailable, openclaw onboard --install-daemon previously exited with a non-zero status, causing ollama launch to abort.
  • The change makes --install-daemon be passed only when systemd user services are reachable, specifically on Linux if /run/systemd/system exists and XDG_RUNTIME_DIR is set.
  • On all other platforms, the flag remains included by default to preserve existing behavior.
  • This update is part of v0.18.1-rc0 addressing issue #14883 and improves launcher reliability in non-systemd environments.

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.