Managing processes

Managing application state is simple here are the commands

$ pm2 restart app\_name
$ pm2 reload app\_name
$ pm2 stop app\_name
$ pm2 delete app\_name

#Instead of app_name you can pass

  • all to act on all processes
  • id to act on a specific process id
Comments