Sha256: 0c180300cc69a730d72fa5aacbad450ecb4403b35ba4023d6f5218a62fae90ae

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

require 'envoy/server/trunk'
require 'envoy/server/web'

unless ARGV[0]
  puts "Usage: #{$0} [ZONE]"
  abort
end

$zone = ARGV[0]

unless EM.reactor_running?
  EM.run do
    EM.start_server "0.0.0.0", 8282, Envoy::Server::Trunk
    EM.start_server "0.0.0.0", 8181, Envoy::Server::Web
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
envoy-proxy-0.0.1 lib/envoy/server/command.rb