I run my node.js file on a vps. My file called server.js For some reasons company reboot the system. So my server.js file stop working. Any way how automatically run server.js file?
I try this https://www.npmjs.com/package/forever but not results
Command
forever start server.js
This command work for the moment but when my system (vps) reboot node.js file stop working!