launchd / systemd
talos install-service registers a user-level service unit. No root. The unit lives in your home directory.
talos install-serviceWrites ~/Library/LaunchAgents/com.allen.talosd.plist and runs launchctl load.
# Statuslaunchctl list | grep talosd
# Stop / startlaunchctl unload ~/Library/LaunchAgents/com.allen.talosd.plistlaunchctl load ~/Library/LaunchAgents/com.allen.talosd.plist
# Removetalos install-service --removeLogs go to ~/.config/talos/daemon.log. Stdout/stderr from launchd are at ~/Library/Logs/com.allen.talosd.out.log.
talos install-serviceWrites ~/.config/systemd/user/talosd.service and runs systemctl --user daemon-reload && systemctl --user enable --now talosd.
# Statussystemctl --user status talosd
# Stop / startsystemctl --user stop talosdsystemctl --user start talosd
# Restartsystemctl --user restart talosd
# Logsjournalctl --user -u talosd -f
# Removetalos install-service --removeEnable lingering if you want talosd to keep running after logout:
sudo loginctl enable-linger $USER(This is the only step that needs sudo, and it’s optional.)
What the unit does
Section titled “What the unit does”| Lifecycle | Action |
|---|---|
| Start | talosd |
| Restart | on failure, with 10s backoff |
| Stop | SIGTERM, 30s drain timeout |
| Env | reads <install>/.env and the user shell env |
Conflict with pnpm dev:daemon
Section titled “Conflict with pnpm dev:daemon”If the service is running and you pnpm dev:daemon in another terminal, the dev daemon will fail with EADDRINUSE. Stop the service first or change TALOS_PORT.