Class: Demon::Sidekiq
Instance Attribute Summary
Attributes inherited from Base
#index, #parent_pid, #pid, #started, #stop_timeout
Class Method Summary collapse
Methods inherited from Base
alive?, #alive?, #already_running?, demons, ensure_running, #ensure_running, #initialize, kill, #kill, #pid_file, restart, #run, start, #start, #stop, stop, #stop_signal
Constructor Details
This class inherits a constructor from Demon::Base
Class Method Details
.after_fork(&blk) ⇒ Object
10 11 12 |
# File 'lib/demon/sidekiq.rb', line 10 def self.after_fork(&blk) blk ? (@blk = blk) : @blk end |
.prefix ⇒ Object
6 7 8 |
# File 'lib/demon/sidekiq.rb', line 6 def self.prefix "sidekiq" end |