Sha256: 512ca128b79d600dc527e2752d352b12c49bb4db1e7996801dd8079b18d65f40

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

require 'rubygems'
require 'daemons'

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

start_service()

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rabbithutch-0.0.8 rabbithutchservice.rb
rabbithutch-0.0.7 rabbithutchservice.rb
rabbithutch-0.0.5 rabbithutchservice.rb
rabbithutch-0.0.3 rabbithutchservice.rb
rabbithutch-0.0.2 rabbithutchservice.rb