Class: Openbox::Commands::Sidekiq

Inherits:
Openbox::Command show all
Defined in:
lib/openbox/commands/sidekiq.rb

Overview

The Sidekiq Command

Since:

  • 0.1.0

Instance Method Summary collapse

Methods inherited from Openbox::Command

#before_execute

Instance Method Details

#executeObject

Run sidekiq

Since:

  • 0.1.0



13
14
15
16
# File 'lib/openbox/commands/sidekiq.rb', line 13

def execute
  Openbox.database.ensure_connection!
  exec('bundle exec sidekiq')
end