alphagov/unicornherder — pull request #12 by ewdurbin (2013-12-11 01:21:42+00:00)
Title: when pidfile is missing, check for unicorn's oldbin pidfile

Unicorn temporarily pushes the pidfile to pidfile + '.oldbin' during a hot restart.

Without checking for the existence of this file, it is very easy for unicornherder to miss the boat on an otherwise uneventful hot reload if the startup time is >5 seconds.