opscode/chef — pull request #596 by jtimberman (2013-01-18 18:21:44+00:00)
Title: [CHEF-3774] - fixes for chef-client debian init.d script

* Add 1 second sleep on chef-client start to allow pid file to get
created
* Inspect `/proc/PID/cmdline` instead of `status` to get full daemon name
instead of ruby process as the name
* Use daemon name (`/usr/bin/chef-client`) instead of
name (`chef-client`) to match the return from above inspection

The above works on an Ubuntu 12.04 system.