Class: HistoryCommanderDaemon
- Inherits:
-
SimpleDaemon::Base
- Object
- SimpleDaemon::Base
- HistoryCommanderDaemon
- Defined in:
- bin/hc
Class Method Summary collapse
Class Method Details
.start ⇒ Object
70 71 72 73 74 75 76 |
# File 'bin/hc', line 70 def self.start EM.run do AMQP.start(:host => [:amqp_host], :user => [:user], :pass => [:pass], :vhost => [:vhost], :logging => [:amqp_log]) do HistWatch.start([:mode]) end end end |
.stop ⇒ Object
78 79 80 81 |
# File 'bin/hc', line 78 def self.stop EM.stop puts "Stopping History Commander" end |