Skip to main content

Platform-Specific Guide

mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.

  • Auto-start: Loads on login via launchctl load
  • Crash recovery: KeepAlive SuccessfulExit = false restarts on crash
  • No sudo needed: User-level LaunchAgent, not system daemon
  • Logs: ~/.mercury/daemon.log and ~/.mercury/daemon-error.log

Manual management

launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist
launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist

Docker Status

Mercury does not currently ship first-party Docker assets in this repository (no Dockerfile or docker-compose.yml by default).

If you run Mercury in a container, treat it as an advanced/custom deployment:

  • Prefer foreground mode (mercury start --foreground) inside the container
  • Let the container runtime handle restart policy
  • Mount ~/.mercury as persistent storage
  • Validate terminal/TTY behavior separately for interactive CLI usage