What is the purpose of "pm2 save"?

Viewed 54033

I am using pm2 to manage my node.js processes. Very happy with it so far.

What is the purpose of $ pm2 save? What is the purpose of saving a process list? I don't quite understand from the documentation. https://github.com/Unitech/pm2

2 Answers

$ pm2 save is used to save the pm2 process list to relaunch them after a server reboot. It comes generaly with :

pm2 startup which generates Startup Script

Related