From: David Lutterkort <[email protected]>
Signed-off-by: David Lutterkort <[email protected]> --- server/bin/deltacloudd | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 4311035..55a268e 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]) -- 1.7.7.5
