From 8497bd357073d3c151e0612602e72d5f97a5083a Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Fri, 27 Jan 2012 04:41:05 +0000 Subject: [PATCH] * bin/deltacloudd: start WEBRick so that it can be interrupted with ^C git-svn-id: https://svn.apache.org/repos/asf/deltacloud/trunk@1236527 13f79535-47bb-0310-9956-ffa450edef68 --- server/bin/deltacloudd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 4311035e..55a268ef 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -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])