parse-dashboard
parse-dashboard copied to clipboard
parse-dashboard server as a background service
Hello.
I start parse-dashboard on AWS Linux AMI

However It is stop when close a commend window
I want my parse-dashboard server to run in the background
How can i do?
you can use:
- nohup (to prevent the script from exiting),
- an upstart script (in /etc/init.d so your server starts at startup),
- a process manager (pm2, forever, nodemon, so the server restarts on crashes)
I suggest a combination of 2 and 3.
further reading:
http://stackoverflow.com/questions/13982257/upstart-script-for-node-js-app https://gist.github.com/steveneaston/58a33e6cc280ca07f4c5 https://www.exratione.com/2013/02/nodejs-and-forever-as-a-service-simple-upstart-and-init-scripts-for-ubuntu/