Question : pm2 restart
Answered by : abdul-rahman-c2uz91hcmt47
pm2 start app.js
pm2 start index.js
pm2 stop index ==> name of your instance
pm2 restart index
Source : | Last Update : Wed, 03 Aug 22
Question : start stop restart pm2
Answered by : difficult-dragonfly-ttgb79vrhz27
pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"
pm2 stop web-interface
pm3 restart web-interface
Source : https://pm2.keymetrics.io/docs/usage/process-management/ | Last Update : Tue, 16 Jun 20
Question : pm2 process not restart
Answered by : augusto-vicente
pm2 start app.js --no-autorestart
Source : https://pm2.keymetrics.io/docs/usage/restart-strategies/ | Last Update : Wed, 13 Dec 23