macOS
Desktop app handles this automatically
If you're using the PrintHQ Bridge desktop app (.dmg), it runs as a background service automatically via the system tray. You don't need to follow these steps. This guide is for users running Bridge as a standalone Node.js binary.
On macOS, Bridge installs as a launchd agent that runs in the background and starts automatically on login.
Install
bash
./printhq-bridge --installThis creates a launchd plist at:
~/Library/LaunchAgents/io.printhq.bridge.plistThe service starts immediately and will auto-start every time you log in.
Check Status
bash
./printhq-bridge --statusOr use launchctl directly:
bash
launchctl list | grep printhqUninstall
bash
./printhq-bridge --uninstallLogs
Service logs are written to:
~/Library/Logs/printhq-bridge.logView logs in real time:
bash
tail -f ~/Library/Logs/printhq-bridge.logManual Control
If you need to manually stop or start the service:
bash
# Stop
launchctl unload ~/Library/LaunchAgents/io.printhq.bridge.plist
# Start
launchctl load ~/Library/LaunchAgents/io.printhq.bridge.plistNotes
- The service runs as your user account, not as root
- It automatically restarts if it crashes (
KeepAliveis enabled) - The web UI remains accessible at
http://localhost:9876