Sha256: a07cba3ae8cbdf9f4f2e2c1882ae5e7bd81670a03f38efaa509fce249c57c8b2
Contents?: true
Size: 568 Bytes
Versions: 16
Compression:
Stored size: 568 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' $:.unshift(File.join(File.expand_path("../..", __FILE__), 'lib')) $0 = "ganymed" require 'madvertise/ext/logging' require 'madvertise/ext/environment' Env.key = 'GANYMED_ENV' require 'ganymed/master' cli = Ganymed::Master::CLI.parse_options server = Ganymed::Master.new(cli.config) log.level = :debug if cli.config[:debug] if cli.config[:daemonize] or cli.config[:kill] daemon = Servolux::Daemon.new(:server => server) if cli.config[:kill] daemon.shutdown else daemon.startup end else server.startup end
Version data entries
16 entries across 16 versions & 1 rubygems