Answers for "start pm2 process command"

2

how to run script command in pm2

pm2 start npm --name "myApp" -- run "start:test"

pm2 start npm --name "myApp" -- run "start:staging"

pm2 start npm --name "myApp" -- run "start:production"
Posted by: Guest on September-18-2020
0

start pm2 node process with flags

pm2 start myServer.js --node-args="--production --port=1337"
Posted by: Guest on August-19-2021

Browse Popular Code Answers by Language