當我運行工頭,我得到以下幾點:工頭只顯示符合「開始機智PID#」,並沒有別的
> foreman start
16:47:56 web.1 | started with pid 27122
只有當我停止它(通過CTRL-C),它讓我缺什麼:
^CSIGINT received
16:49:26 system | sending SIGTERM to all processes
16:49:26 web.1 | => Booting Thin
16:49:26 web.1 | => Rails 3.0.0 application starting in development on http://0.0.0.0:5000
16:49:26 web.1 | => Call with -d to detach
16:49:26 web.1 | => Ctrl-C to shutdown server
16:49:26 web.1 | >> Thin web server (v1.3.1 codename Triple Espresso)
16:49:26 web.1 | >> Maximum connections set to 1024
16:49:26 web.1 | >> Listening on 0.0.0.0:5000, CTRL+C to stop
16:49:26 web.1 | >> Stopping ...
16:49:26 web.1 | Exiting
16:49:26 web.1 | >> Stopping ...
我該如何解決?
如果您推出的多任務堆棧,它可能需要一段時間才能啓動一切。工頭輸出是即時的,但您的後臺工作不會比平時更快。就我而言,我不得不等待大約2分鐘。所以...等待它。 – 2013-12-16 16:06:53