Run it as a service
- Linux (systemd): a unit with
ExecStart=/usr/bin/node /opt/print-agent/src/agent.mjs,Environment=lines for the settings, andRestart=always. - macOS: a launchd agent with
KeepAlive. - Windows: NSSM (
nssm install InfotechPrintAgent node.exe C:\print-agent\src\agent.mjs).
Last updated 10 Oct 2026