Saturday, 1 December 2018

Question about turning node script into daemon that starts on launch

I want a user to be able to npm install [my-package] and then my node script automatically installs a daemon on any linux or macos system that will keep the daemon alive across system restarts.​One option is forever.js, but that hasn't been updated in 2 years. Another option is PM2, but it looks like the user has to manually enter the startup command into the console.​Any thoughts or input would be greatly appreciated.

Submitted December 01, 2018 at 08:37PM by LickingWoundSalt

No comments:

Post a Comment