lib/rack/handler/unicorn.rb in rack-handlers-0.5.1 vs lib/rack/handler/unicorn.rb in rack-handlers-0.5.2
- old
+ new
@@ -7,10 +7,11 @@
::Unicorn::HttpServer
end
def self.run app, options
server = server_class.new(app,
- :listeners => "#{options[:Host]}:#{options[:Port]}")
+ :listeners => "#{options[:Host]}:#{options[:Port]}",
+ :config_file => options[:config_file])
yield(server) if block_given?
server.start.join
end