We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forever能够启动,停止,重启应用
forever可以看做是一个nodejs的守护进程,使用forever启动的app在退出ssh终端之后不会结束
可选参数 -w 监听文件改动并自动重启服务.
The text was updated successfully, but these errors were encountered:
如果发生端口占用的情况,要先将对应的服务stop,然后再杀进程,否则会导致杀进程之后服务被重启,端口依然被占用。
Sorry, something went wrong.
No branches or pull requests
About
forever能够启动,停止,重启应用
forever可以看做是一个nodejs的守护进程,使用forever启动的app在退出ssh终端之后不会结束
常用命令
可选参数 -w 监听文件改动并自动重启服务.
从结果中可以看到任务的id, 任务的状态,日志文件位置,任务执行时间.
注意事项
data: uid command script forever pid id logfile uptime
data: [0] 6v-- /usr/local/node-v6.2.1-linux-x64/bin/node /data/github/iuapfed/generate-uui 21225 21231 /root/.forever/6v--.log STOPPED
data: [1] pQFa /usr/local/node-v6.2.1-linux-x64/bin/node /data/github/iuapfed/iuap-design.github.io 21247 9708 /root/.forever/pQFa.log 0:2:29:23.385
data: [2] Or4L /usr/local/node-v6.2.1-linux-x64/bin/node /data/github/githook/ 495 511 /root/.forever/Or4L.log 0:0:30:55.327
The text was updated successfully, but these errors were encountered: