TERM vs QUIT
chris at ozmm.org
Thu Oct 1 19:56:42 EDT 2009
On Thu, Oct 1, 2009 at 4:52 PM, Chris Wanstrath <chris at ozmm.org> wrote:
> According to http://en.wikipedia.org/wiki/SIGTERM, SIGTERM should be
> used for graceful termination.
> According to http://www.cons.org/cracauer/sigint.html, SIGQUIT should
> be used for immediate termination.
> Is there any reason Unicorn seems to flip these two and use TERM for
> immediate termination and QUIT for graceful termination?
Looks like nginx flips them, too, and Unicorn's signal handling is
based on nginx's.
We will defer to the Russians and make our stuff consistent with nginx!
More information about the mongrel-unicorn