celery/celery — pull request #1248 by wieslander (2013-03-20 13:39:26+00:00)
Title: Avoid bashism in extra/generic-init.d/celeryd

The example init script depends on bash for validating pid files when running `/etc/init.d/celeryd status`. Thus, the status command won't work on Ubuntu and other distributions where bash isn't the default `/bin/sh`.

Fixed by using `sed` to accomplish the same thing in a more portable way.