Install the gateway as a background service
gateway & service
// what it does
openclaw gateway install registers the gateway as a per-user service — launchd on macOS, systemd on Linux — so it starts on login and restarts on crash; onboard --install-daemon does this for you. openclaw gateway uninstall removes the service without touching your state or config.
// shell
$ openclaw gateway install$ openclaw gateway uninstall// gotcha
If OpenClaw runs under an external supervisor, native install/start/stop/uninstall are refused with a pointer to manage the process through that supervisor instead.