Sha256: c8c6c7d81e236a7f61140c08522ef8a9a741c77e963cbcad413f09ac72028edb

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

require 'rubygems'
require 'daemons'

# The Service controller.
def start_service
  begin
    puts "-------------------------"
    puts "Starting RabbitHutch #1"
    Daemons.run(File.dirname(__FILE__) + '/rabbithutch.rb')
  rescue SystemExit=>e
    puts e.inspect
  rescue Exception=>e
    puts e.inspect
  end
end

start_service()

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dafiti-rabbit-hutch-0.1.9 lib/rabbithutchservice.rb
dafiti-rabbit-hutch-0.1.5 lib/rabbithutchservice.rb