码迷,mamicode.com
首页 > 其他好文 > 详细

keep running

时间:2017-03-20 14:01:37      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:using   stay   ice   nbsp   overflow   node   ons   ref   accept   

    nohup node server.js &

 

"I wanted to add that the accepted answer is really the way to go. I‘m using forever on instances that need to stay up. I like to do npm install -g forever so it‘s in the node path and then just do forever start server.js"

refer to http://stackoverflow.com/questions/4018154/node-js-as-a-background-service

 

keep running

标签:using   stay   ice   nbsp   overflow   node   ons   ref   accept   

原文地址:http://www.cnblogs.com/goldengallo/p/6587862.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!