流星mup如何永久使用? [英] How does Meteor mup use forever?
问题描述
我可以在 Meteor mup 文档中读到,如果它崩溃了,它会永远用来重新启动进程:
I can read in the Meteor mup documentation that it uses forever to restart a process if it crashes:
https://github.com/arunoda/meteor-up
在命令行中,如果我发出永久列表",它会报告
At the command line if I issue a "forever list" it reports
info: No forever processes running
我有一个 Meteor 应用程序一直挂着,想知道我是否正确使用了 mup,或者 Forever 是否会有所帮助.
I have a Meteor app that keeps hanging and was wondering if I was using mup correctly, or if Forever would help.
任何建议将不胜感激.如果我能提供更多信息,请告诉我.
Any advice would be appreciated. Please let me know if there is more information that I can provide.
- 如果可能的话,还有声望较高的人请将此问题标记为mup".
推荐答案
Forever 应该列出正在运行的进程.
Forever should list the process if it's running.
使用以下命令检查该服务器的日志:tail -f/var/log/upstart/meteor.log
Check logs of that server with: tail -f /var/log/upstart/meteor.log
这篇关于流星mup如何永久使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!