pm2 或者 forever抑或自带的nohub服务pm2:sudo npm install -g pm2pm2 start index.js --name hellopm2 stop hellopm2 restart helloforever:sudo npm install -g foreverforever start index.js...nohub:nohup node index.js > ~/myout.log 2>&1 &
- 上一篇: 为什么node服务器这么难招
- 下一篇: 返回列表