Answers for "how do i restart all my pm2 processes"

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
0

how to kill pm2 process

│ interpreter       │ node
│ interpreter args  │ N/A
│ script id         │ 0     
│ exec cwd          │ /home/user/.pm2/modules/pm2-logrotate/node_modules/pm2-logrotate
│ exec mode         │ fork_mode 
│ node.js version   │ 8.11.1
Posted by: Guest on March-02-2022

Code answers related to "how do i restart all my pm2 processes"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language