Host Daemon
By default, Runside inspects remote SSH servers without installing anything on them. Install the optional runsided binary only on shared team servers or always-on machines where multiple teammates connect at once or you want 24/7 phone access and alerts while your laptop sleeps.
Where runsided Runs
Section titled “Where runsided Runs”runsided runs per machine, never as a central server or hub:
- Install it only on specific Linux or macOS devboxes (
devbox-01). - Leave every other server (
staging-01,prod-db-01, personal machines) zero-agent. - Runside Desktop detects
runsidedautomatically over SSH and falls back cleanly to standard SSH scanning if stopped or removed.
Installing & Verifying
Section titled “Installing & Verifying”Download the matching runsided archive from GitHub Releases alongside SHA256SUMS.txt:
shasum -a 256 -c SHA256SUMS.txt --ignore-missingtar -xzf runsided-v0.1.0-linux-x86_64.tar.gz -C ~/.local/binrunsided --oncerunsided --once prints one local snapshot JSON payload to stdout and exits without opening sockets.
CLI Options
Section titled “CLI Options”| Flag / Command | Default | Purpose |
|---|---|---|
--listen <ADDR> |
127.0.0.1:47622 |
Loopback read-only HTTP bind address |
--unix-socket <PATH> |
/tmp/runsided.sock |
Unix domain socket listener (0660) |
--no-unix-socket |
false |
Disable the Unix domain socket listener |
--mobile-listen <ADDR> |
Disabled | Opt-in Direct LAN / Tailscale listener for Mobile (e.g. 0.0.0.0:47624) |
--mobile-relay |
false |
Connect outbound to the zero-account Encrypted Mobile Relay |
--mobile-relay-url <URL> |
https://relay.runside.dev |
Override encrypted relay base URL (implies --mobile-relay) |
--interval-ms <MS> |
2000 (min 1000) |
Background scan interval in milliseconds |
--session-tokens |
false |
Opt in to numeric Claude Code / Codex token & context counters (prompts never stored) |
--config <PATH> |
~/.config/runside/config.toml |
Custom configuration file path |
--once |
false |
Run one local scan, print JSON, and exit |
pair |
· | Print a 5-minute QR pairing code (--json, --permission read-only|non-prod) |
devices / revoke <id> |
· | List paired phones or revoke access immediately |
print-service |
· | Generate a ready-to-use --systemd unit or macOS --launchd plist |
doctor |
· | Check config, sockets, Tailscale URLs, alert credentials, and paired devices |
-V, --version |
· | Print runsided version |
-h, --help |
· | Print CLI help |
Running as a Service (systemd or launchd)
Section titled “Running as a Service (systemd or launchd)”# Linux (systemd user unit)mkdir -p ~/.config/systemd/userrunsided print-service --systemd --mobile-listen 0.0.0.0:47624 > ~/.config/systemd/user/runsided.servicesystemctl --user daemon-reloadsystemctl --user enable --now runsidedloginctl enable-linger "$USER"
# macOS (always-on Mac Mini / Mac Studio)runsided print-service --launchd --mobile-listen 0.0.0.0:47624 > ~/Library/LaunchAgents/dev.runside.runsided.plistlaunchctl load -w ~/Library/LaunchAgents/dev.runside.runsided.plistRun runsided doctor anytime to verify sockets, reachable Tailscale/LAN addresses, alert credentials, and paired phones.
Always-On Mobile Pairing & 24/7 Alerts
Section titled “Always-On Mobile Pairing & 24/7 Alerts”- From Desktop (recommended): Open Settings (
⌘,) → Mobile → Pair a device, selectdevbox-01 (Always on)under Pair with, and scan the QR code. - Over SSH: Run
runsided pair --permission non-proddirectly in a shell to display the QR code. - 24/7 Transition Alerts & Continuous Timeline:
runsidedcontinuously records per-session runtime transitions (starts, exits, crashes, zombie flags, and Mobile stops) locally even while your laptop sleeps, syncing them automatically when Desktop connects. Withalerts.enabled = truein~/.config/runside/config.toml, it also sends secret-redacted Slack, Discord, ntfy, Pushover, or webhook alerts on agent exits, zombie spikes, blocked DB locks, HTTP5xxbursts, or RAM/disk pressure, with cooldowns and quiet hours.
Headless Server Alert Credentials
Section titled “Headless Server Alert Credentials”On headless Linux servers without a desktop Keychain session, runsided checks two secure fallbacks per channel ID (keeping webhooks/tokens out of config.toml):
systemdLoadCredential(CREDENTIALS_DIRECTORY): SetLoadCredential=runside-alert-<channel_id>:/etc/runside/slack-ops.secret(plainhttps://...URL or JSON{"webhookUrl":"...","signingSecret":"..."}).EnvironmentFile(RUNSIDE_ALERT_SECRET_<CHANNEL_ID>): PassRUNSIDE_ALERT_SECRET_SLACK_OPS=https://hooks.slack.example/services/T000/B000/XXX(uppercased channel ID,-→_).
Security Boundaries
Section titled “Security Boundaries”- Loopback & Unix Socket Only: HTTP status/snapshot endpoints bind only to
127.0.0.1:47622and/tmp/runsided.sock(0660). - Read-Only Snapshot API: Exposes only
GET /health,GET /v1/snapshot, andGET /v1/timeline(405on non-GET,403on cross-origin headers). - Unprivileged: Runs without
rootorsudo.