安装程:
[root@IOTSS64x ~]# npm install forever
修改/etc/rclocal文件增加行:
[root@IOTSS64x ~]# tail -n 1 /etc/rclocal
forever start -w /usr/local/serverjs
查看forever启列表:
[root@IOTSS64x ~]# forever list
info: Forever processes running
data: uid command script forever pid logfile uptime
data: [0] IAHz /usr/local/bin/node serverjs 18327 18329 /root/forever/IAHzlog 0:2:29:27885
O
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)