Sha256: 4ca212fd7da5fd839456505af3db6799e9af24b3812e05b6d8c5667d761b391b
Contents?: true
Size: 582 Bytes
Versions: 8
Compression:
Stored size: 582 Bytes
Contents
#!/usr/bin/env ruby require "bunny" require_relative "../lib/carrot_rpc" require_relative "../lib/carrot_rpc/cli" require_relative "../lib/carrot_rpc/server_runner" CarrotRpc::CLI.parse_options(ARGV) CarrotRpc.configure do |config| # Defaults to using ENV['RABBITMQ_URL'] for connection string. config.bunny = Bunny.new if config.bunny.nil? end config = CarrotRpc.configuration config.bunny.start runner = CarrotRpc::ServerRunner.new(pidfile: config.pidfile, runloop_sleep: config.runloop_sleep, daemonize: config.daemonize) runner.run!
Version data entries
8 entries across 8 versions & 1 rubygems