【发布时间】:2013-10-15 11:07:23
【问题描述】:
我的服务器重启一次后我将运行一个命令
我的服务器上有 node.js 的聊天应用程序
这是我用 putty 编写并运行我的聊天应用程序的命令行
登录服务器
[root@name ~]# cd /
[root@name /]# cd /home/admin/domains/mydomain.com/public_html/chat_server
[root@name chat_server]# forever start websocket.js
info: Forever processing file: websocket.js
[root@name chat_server]#
如何自动运行?
【问题讨论】: