Skip to content

Instantly share code, notes, and snippets.

@seyhunak
Forked from hayeah/sidekiq.rb
Created October 4, 2013 10:33
Show Gist options
  • Save seyhunak/6824002 to your computer and use it in GitHub Desktop.
Save seyhunak/6824002 to your computer and use it in GitHub Desktop.
# adapted from bin/sidekiq
# to invoke, run: zeus runner sidekiq.rb
require 'sidekiq/cli'
begin
cli = Sidekiq::CLI.instance
cli.parse
cli.run
rescue => e
raise e if $DEBUG
STDERR.puts e.message
STDERR.puts e.backtrace.join("\n")
exit 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment