Monday, 13 March 2017

How to install forever command without sudo

I have a node server on a VPS through Dreamhost. I want to run my node process forever. Currently, I can run the process but when I close my terminal it ends the process and the website no longer works. What I have read online is that I need to do forever node app.js but I am not given sudo access and can not install the command forever globally. How can I either install forever without sudo access or keep my node process running even after I close my terminal?



via Gary Johnson

No comments:

Post a Comment