Answers for "pm2 specify name"

5

pm2 start with name

pm2 start npm --name "app name" -- start
Posted by: Guest on November-11-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