macOS
tota service install creates a LaunchAgent at ~/Library/LaunchAgents/com.tota.agent.plist.
- Auto-start: Loads on login via
launchctl load - Crash recovery:
KeepAlive SuccessfulExit = falserestarts on crash - No sudo needed: User-level LaunchAgent, not system daemon
- Logs:
~/.tota/daemon.logand~/.tota/daemon-error.log
Manual management
launchctl load ~/Library/LaunchAgents/com.tota.agent.plist
launchctl unload ~/Library/LaunchAgents/com.tota.agent.plist
Linux
tota service install creates a systemd user unit at ~/.config/systemd/user/tota-agent.service.
- Auto-start: Enabled via
systemctl --user enable tota-agent.service - Crash recovery:
Restart=on-failurewith 5s delay - No sudo needed: User-level service
- Boot without login: Run
sudo loginctl enable-linger $USERonce - Logs:
~/.tota/daemon.logorjournalctl --user -u tota
Manual management
systemctl --user start tota
systemctl --user status tota
systemctl --user stop tota
Windows
tota service install creates a Windows Task Scheduler task named TotaAgent.
- Auto-start: Triggers on user logon via
schtasks - Crash recovery: Built-in watchdog with exponential backoff
- No admin needed: Runs with limited privileges (
/rl limited) - Logs:
%USERPROFILE%\.tota\daemon.log
Manual management
schtasks /query /tn "TotaAgent" /fo list
schtasks /run /tn "TotaAgent"
schtasks /delete /tn "TotaAgent" /f
