defunkt/resque — pull request #719 by postmodern (2012-10-03 19:23:48+00:00)
Title: Added an example Ubuntu init.d script for starting resque workers.

* Only supports starting one-batch of workers for a single app.
* Integrates with Ubuntu's rc.d scripts with start-stop-daemon.
* Checks for Gemfile.lock and uses `bundle exec`.
* Executes `rake resque:work` or `bundle exec rake resque:work`
directly.
* Passes RACK_ENV and QUEUES variables.
* Passes PIDFILE, in order to store pids in $ROOT/tmp/pids/.