PM2 - jsonamit/aws GitHub Wiki
1. It is going to keep your site up by restarting the application if it crashes. These crashes should NOT happen, but it is good know that PM2 has your back. (Some people may be aware of Forever.js, another tool that is used to keep node based sites running - I think you will find that PM2 has a lot to offer.)
2. It is going to help you by restarting your node application as a service every time you restart the server. Some of use know of other ways to do this, but pm2 makes it easier, and it has some added flexibility.
Install PM2
sudo npm install pm2 -g
OR
yarn global add pm2
Start, Stop, Restart & Kill your App
pm2 kill #kills all pm2 worker
Reloading your App
pm2 reload all
Restarting your App
pm2 restart all
List Processes
pm2 list