I want to run my node.js server with node forever, I installed the plug-in node forever, but after closing my putty console the node.js server is closed. What can I do?
我想永远运行我的node.js服务器节点,我永远安装插件节点,但关闭我的putty控制台后,node.js服务器关闭。我能做什么?
I tried these commands:
我试过这些命令:
forever -m 5 myserver.js
forver myserver.js
1 个解决方案
#1
1
Correct command is:
正确的命令是:
forever start myserver.js
See more in help
在帮助中查看更多内容
usage: forever [action] [options] SCRIPT [script-options]
forever -h // to see help
See runnig processes
请参阅runnig进程
forever list
#1
1
Correct command is:
正确的命令是:
forever start myserver.js
See more in help
在帮助中查看更多内容
usage: forever [action] [options] SCRIPT [script-options]
forever -h // to see help
See runnig processes
请参阅runnig进程
forever list