opscode/chef — pull request #999 by brugidou (2013-09-20 13:38:37+00:00)
Title: [CHEF-4556] Fix the client pid cleanup in daemonize

* Log a warning if not running?, this means that we have a stale pid
file that did not get cleaned up.
* Do not remove the pid file if it points to a running process that
is not myself
* Take care of the situation of an "orphan" worker where another
daemon has been started