deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 3/8] * bin/deltacloudd: explicitly ask for webrick when --webrick is passed in
Date Thu, 07 Mar 2013 02:18:48 GMT
From: David Lutterkort <lutter@redhat.com>

---
 server/bin/deltacloudd | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd
index 836bc55..9246058 100755
--- a/server/bin/deltacloudd
+++ b/server/bin/deltacloudd
@@ -215,12 +215,10 @@ unless have_thin
     server.add_tcp_listener ENV['API_HOST'], port
     server.run(false)
   else
-    # There's a bug with string ports on JRuby so convert to int
-    # http://jira.codehaus.org/browse/JRUBY-4868
-    puts "=> Ctrl-C to shutdown server"
     Rack::Server::start(:app => app,
                         :Host => ENV["API_HOST"],
                         :Port => port,
+                        :server => 'webrick',
                         :AccessLog => [])
   end
 else
-- 
1.8.1.4


Mime
View raw message