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

Version Path
ganymed-0.4.4 bin/ganymed
ganymed-0.4.3 bin/ganymed
ganymed-0.4.2 bin/ganymed
ganymed-0.4.1 bin/ganymed
ganymed-0.4.0 bin/ganymed
ganymed-0.3.4 bin/ganymed
ganymed-0.3.3 bin/ganymed
ganymed-0.3.2 bin/ganymed
ganymed-0.3.1 bin/ganymed
ganymed-0.3.0 bin/ganymed
ganymed-0.2.3 bin/ganymed
ganymed-0.2.2 bin/ganymed
ganymed-0.2.1 bin/ganymed
ganymed-0.2.0 bin/ganymed
ganymed-0.1.2 bin/ganymed
ganymed-0.1.1 bin/ganymed