启动pm2 start /home/socketlog/index.js
重启pm2 reload all
转载于:https://www.cnblogs.com/lobtao/articles/8984721.html