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.




