forever A simple CLI tool for ensuring that a given script runs continuously (i.e. forever). 一个非常简单的CLI工具,让你的程序持续运行。 安装forever: https://github.com/nodejitsu/forever $ [sudo] npm install forever -g Demo: 进程重启超过5次后将不再运行 $ forever examples/error-on-timer.js -m 5 forever-webui A simple web UI for efficient nodejs administration 既然有了CLI工具帮忙保证程序的持续运行,那么有个简单的web监控就更加好了。 forever-webui 就是这样一个web应用程序。 安装并运行 $ npm install forever-webui && node node_modules/forever-webui/app.js 浏览器访问 http://127.0.0.1:8085

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。