Expand description
P1.9 (0.5.11): install + manage an OS service unit that runs
wire daemon automatically.
Today’s onboarding tells operators “run wire daemon & in a tmux
pane or write a launchd plist yourself” — friction that gets skipped,
leading to the “daemon dies on reboot, peer sends evaporate” silent
class. Bake the unit install into wire service install so it’s one
command, idempotent, cross-platform.
macOS: ~/Library/LaunchAgents/sh.slancha.wire.daemon.plist
linux: ~/.config/systemd/user/wire-daemon.service
The unit auto-starts on login + restarts on crash. Pair with
wire upgrade (P0.5) for atomic version swaps without unit churn.
Structs§
- Service
Report - Outcome of
wire service installetc., suitable for both human + JSON rendering.
Functions§
- install
- Install a user-scope service unit that runs
wire daemonand writes a P0.4 versioned pidfile. - status
- uninstall