PM2
https://www.npmjs.com/package/pm2
https://github.com/Unitech/pm2
https://pm2.io/doc/en/runtime/quick-start/
https//pm2.keymetrics.io/docs/usage/quick-start/
https://pm2.io/doc/en/runtime/overview/
https://pm2.io/doc/en/runtime/guide/installation/
PM2 ecosystem.config.js
https://doc.pm2.io/en/runtime/guide/ecosystem-file/
https://pm2.keymetrics.io/docs/usage/application-declaration/
# install
$ npm install pm2 -g
$ pm2 list
$ mp2 start server.js
linux & chmod & 777
https://github.com/xgqfrms-GitHub/Node-CLI-Tools/blob/master/bash-shell-chmod.md
#!/bin/sh
# echo "^-v-^ JSON DB is running in development env!" && npm run db
# echo "^-v-^ JSON DB is running in development env!" && nodemon -w ./server.js localhost 8888
JSONDB="nodemon -w ./server.js localhost 8888"
${JSONDB} &
# chmod +x db.sh
# sudo ./db.sh
# nodemon -w ./server.js localhost 8888
# /bin/sh db.sh
# ps -ef | grep node
# sudo kill -9 <PID>