Answers for "pm2 set name"

5

pm2 start with name

pm2 start npm --name "app name" -- start
Posted by: Guest on November-11-2020
2

List the status of all application managed by PM2:

pm2 list
Posted by: Guest on May-06-2020
1

start stop restart pm2

pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"

pm2 stop web-interface

pm3 restart web-interface
Posted by: Guest on June-09-2020

Browse Popular Code Answers by Language