How to automate the restarting of Unicorn?

Pai-Hung Chen paihungchen at
Mon Oct 10 18:18:00 EDT 2011

Eric Wong wrote:

> Yes, there's no way to safely handle the pid file otherwise because of
> race conditions you mentioned.  The oldbin pid file must exist because
> the new process (which calls before_exec) can clobber the regular pid
> file once fork is called.

Thanks for the confirmation :) Much appreciated!


More information about the mongrel-unicorn mailing list