How to run Go forever in producction something like pm2 for nodejs?

Constructing daemons to run in the background is fairly simple in Golang, though care should be taken with multi-threaded daemons. Follow the instructions for you init system for starting at boot. And most important, handle any and all errors gracefully. Good luck.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.