Answer the question
In order to leave comments, you need to log in
Trouble with Node.JS pm2 module?
What am I doing.
I restart the server and start working with the module.
# pm2 list
┌──────────┬────┬──────┬─────┬────────┬───────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴───────────┴────────┴────────┴──────────┘
Use `pm2 desc[ribe] <id>` to get more details
# pm2 startup centos
[PM2] Generating system init script in /etc/init.d/pm2-init.sh
[PM2] Making script booting at startup...
/var/lock/subsys/pm2-init.sh lockfile has been added
[PM2] -centos- Using the command su -c "chmod +x /etc/init.d/pm2-init.sh; chkconfig --add pm2-init.sh"
[PM2] Done.
# pm2 start /node/processes.json
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question