Open sahanDissanayake opened 10 years ago
https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps#run-your-app-using-pm2,-and-ensure-that-your-nodejs-application-starts-automatically-when-your-server-restarts
These guys say it is not good to run the script as root. Please tell me how I can achieve this ?
Thank you.
Look at this article http://syskall.com/dont-run-node-dot-js-as-root/
We're going to be changing the default foreverRoot in 1.0.0 to:
foreverRoot
1.0.0
https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps#run-your-app-using-pm2,-and-ensure-that-your-nodejs-application-starts-automatically-when-your-server-restarts
These guys say it is not good to run the script as root. Please tell me how I can achieve this ?
Thank you.