module RabbitWQ

Constants

VERSION

Attributes

work_logger[RW]

Public Class Methods

perform_boot() click to toggle source
# File lib/rabbit_wq.rb, line 22
def self.perform_boot
  author = 'C. Jason Harrelson'

  years = 2013
  years = "#{years}–#{::Time.now.year}" if years < ::Time.now.year

  boot app_name:            'Rabbit WQ',
       author:              author,
       attribution:         "v#{VERSION} Copyright © #{years} #{author}",
       default_config_path: "/etc/rabbit-wq/#{process_name}.conf",
       use_config:          true
end
process_name() click to toggle source
# File lib/rabbit_wq.rb, line 35
def self.process_name
  'rabbit-wq'
end