Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

pm2 restart

pm2 start app.js 
pm2 start index.js 

pm2 stop index ==> name of your instance

pm2 restart index
Source by pm2.keymetrics.io #
 
PREVIOUS NEXT
Tagged: #restart
ADD COMMENT
Topic
Name
4+6 =