Linux
Desktop app handles this automatically
If you're using the PrintHQ Bridge desktop app (.AppImage, .deb, or .rpm), 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 Linux, Bridge installs as a systemd user service that runs in the background and starts on boot.
Install
bash
./printhq-bridge --installThis creates a systemd unit file at:
~/.config/systemd/user/printhq-bridge.serviceIt also enables lingering for your user account so the service runs even when you're not logged in:
bash
loginctl enable-linger $USERCheck Status
bash
./printhq-bridge --statusOr use systemctl directly:
bash
systemctl --user status printhq-bridgeView Logs
bash
journalctl --user -u printhq-bridge -fUninstall
bash
./printhq-bridge --uninstallManual Control
bash
# Stop
systemctl --user stop printhq-bridge
# Start
systemctl --user start printhq-bridge
# Restart
systemctl --user restart printhq-bridgeNotes
- The service runs as your user account, not as root
Restart=on-failureis configured so it auto-restarts after crashes (5 second delay)- Lingering ensures the service runs without an active login session
- The web UI remains accessible at
http://localhost:9876 - If you're running on a headless server (e.g., Raspberry Pi), this is the recommended approach alongside Docker