Sha256: 45f676f5f9630407841dd9af9dac94b28630f90158d90e4bd3979d3736e02b4f
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'daemons' if ["run", "start", "stop", "restart"].include? ARGV[0] command = ARGV[0] env = "development" else env = ARGV[0] || "development" case env when "development" command = "run" when "production" command = "start" else # By default, we run in "on-top" mode command = "run" end end options = { :ARGV => [command, '--', env], :app_name => "#{Dir.pwd.split("/").last}", :dir => "../tmp/pid/", :multiple => true, :backtrace => true } Daemons.run(File.dirname(__FILE__) + '/../config/boot.rb', options)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
julien51-babylon-0.0.13 | templates/babylon/script/component |