Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
* bin/deltacloudd: start WEBRick so that it can be interrupted with ^C
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/deltacloud/trunk@1236527 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
David Lutterkort committed Jan 27, 2012
1 parent ec45a48 commit 8497bd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/bin/deltacloudd
Expand Up @@ -199,10 +199,10 @@ unless have_thin
port = ENV["API_PORT"].to_i

puts "=> Ctrl-C to shutdown server"
Rack::Handler::WEBrick.run(app,
:Host => ENV["API_HOST"],
:Port => port,
:AccessLog => [])
Rack::Server::start(:app => app,
:Host => ENV["API_HOST"],
:Port => port,
:AccessLog => [])
else
argv_opts = ARGV.clone
argv_opts << ['start'] unless Thin::Runner.commands.include?(options[0])
Expand Down

0 comments on commit 8497bd3

Please sign in to comment.