Sha256: a9a62fedbe5aded35a3c3afeb2a96b46dbc9e98b555091d7f105b9f72dd54773
Contents?: true
Size: 489 Bytes
Versions: 5
Compression:
Stored size: 489 Bytes
Contents
module Invoker # power is really a stupid pun on pow. module Power class Powerup def self.fork_and_start powerup = new() fork { powerup.run } end def run EM.epoll EM.run { trap("TERM") { stop } trap("INT") { stop } DNS.run_dns() Balancer.run() } end def stop Invoker::Logger.puts "Terminating Proxy/Server" EventMachine.stop end end end end
Version data entries
5 entries across 5 versions & 1 rubygems