/sidekiq-daemon

Sidekiq process daemonization for JRuby

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Sidekiq::Daemon

Adds support for running Sidekiq as a daemon on JRuby.

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-daemon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sidekiq-daemon

Usage

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

This work incorporates the JRuby daemonization code from Puma by Evan Phoenix and contributors.

Maintainers

License

BSD License

Copyright

Copyright 2013 Morton Jonuschat