Parent

Methods

Configure::Controllers::Start

Public Instance Methods

get(service) click to toggle source
# File lib/mongrel_config/win32_app.rb, line 31
def get(service)
  runner = Thread.new do
    W32Support.start(service) do |status|
      $service_logs << "Starting #{service}: #{status}\n"
      sleep 1
    end
  end

  $service_group.add(runner)

  redirect Index
end
post() click to toggle source
# File lib/mongrel_config/app.rb, line 20
def post
  @results = `mongrel_rails start -d -p #{input.port} -e #{input.env} -n #{input.num_procs} -a #{input.address}`
  render :start_done
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.