Looking for the best practice to run parse the express.js parse server in the background in Ubuntu using something like systemd, forever or mon
I like forever
npm install -g forever
forever start index.js
forever restart index.js
forever stop index.js
forever logs
I normally use supervisord on ubuntu for easily starting services without the need to write custom start/stop scripts
forever is good although especially for development but in production If the server is restarted it won't start up the parse server instance... I'll have a look at supervisord
You can also try PM2, you can add it at startup and it can also handle reloading files after changing them.
I use PM2 in cluster mode. Totally recommend it :+1:
Closing as this is a week old and some solid solutions have been provided.
Most helpful comment
I like
forever