Adds support for running Sidekiq as a daemon on JRuby.
Add this line to your application's Gemfile:
gem 'sidekiq-daemon'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sidekiq-daemon
If you want to start sidekiq as a background process you can make use of the binary sidekiq-daemon
.
This is a very slim wrapper for the original sidekiq
binary that is only used to make sure the required
code for daemonization is loaded. Usage is identicat to the original sidekiq
binary in every regard.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This work incorporates the JRuby daemonization code from Puma by Evan Phoenix and contributors.
BSD License
Copyright 2013 Morton Jonuschat