Sha256: b868ed262952be9c49c430109d6b7b87b133d76551311c5df842c0a0ea3db90d

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

#!/usr/bin/env ruby

# Setup environment
case ARGV.first
when nil
  ENV['RAEMON_ENV'] = 'development'
when 'start'
  ENV['RAEMON_ENV'] = 'production'
when 'stop'
  @shutdown = true
end

# Load Raemon Server
require File.dirname(__FILE__) + '/../config/environment'

if @shutdown
  Raemon::Server.shutdown!
else
  Raemon::Server.startup!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
raemon-0.2.1 examples/sampled/bin/sampled
raemon-0.2.0 examples/sampled/bin/sampled
raemon-0.1.2 examples/sampled/bin/sampled
raemon-0.1.1 examples/sampled/bin/sampled
raemon-0.1.0 examples/sampled/bin/sampled