tofupilot service
Last updated on June 26, 2026
The service command manages the running station daemon (systemd on Linux, launchd on macOS), which tofupilot login --token puts under supervision when you set up a station.
start
The start subcommand runs the daemon in the foreground, and systemd and launchd use it as the ExecStart target. You rarely call it by hand.
tofupilot service startstop
The stop subcommand stops the running daemon.
tofupilot service stopstatus
The status subcommand probes the loopback port the operator UI binds, then shows the supervisor's view, the resolved port, any TOFUPILOT_LOCAL_UI_PORT override, and log locations.
tofupilot service statusThe exit code follows one contract: 0 if and only if the operator UI socket is accepting on the resolved port, so scripts can rely on exit==0 meaning the daemon is live. With --json, a dead socket always exits 1; in human mode the CLI propagates the supervisor's non-zero exit code when available (systemd uses 3 for inactive and 4 for not installed), clamped to 1 when the supervisor claims success despite the dead socket.
How is this guide?