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

oh forever love~

时间:2017-03-15 00:14:11      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:start   lis   ack   tar   not   title   forever   ever   nbsp   

npm install -g forever

forever start c9sdk/server.js --listen 0.0.0.0 --port 80 -a aa:111 -w ~

To elaborate, you can use something like forever2 to run your server. This has the added advantage of being able to close your instance of bash without worrying about Cloud9 stopping. To start, install forever with npm install -g forever, then run forever start c9sdk/server.js [options...], then you can list the running applications with forever list, and stop them with forever stop c9sdk/server.js.

oh forever love~

标签:start   lis   ack   tar   not   title   forever   ever   nbsp   

原文地址:http://www.cnblogs.com/xiangnan/p/6551380.html

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