[PATCH] Start the server if another user has a PID matching our stale pidfile.
normalperson at yhbt.net
Wed Feb 29 17:25:59 UTC 2012
Graham Bleach <graham at darkskills.org.uk> wrote:
> If unicorn doesn't get terminated cleanly (for example if the machine
> has its power interrupted) and the pid in the pidfile gets used by
> another process, the current unicorn code will exit and not start a
> server. This tiny patch fixes that behaviour.
Thanks! Acked-by: Eric Wong <normalperson at yhbt.net>
and pushed to master on git://bogomips.org/unicorn.git
More information about the mongrel-unicorn