1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-11-05 04:56:17 +01:00

Drop mongrel dependency, it's old and broken

This commit is contained in:
cn 2013-03-29 22:44:39 +01:00
parent cdf4b92096
commit f015eaec05
3 changed files with 1 additions and 12 deletions

View File

@ -1,4 +1,3 @@
source 'https://rubygems.org'
gem 'rack'
gem 'mongrel'

View File

@ -1,20 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.9)
fastthread (1.0.7)
gem_plugin (0.2.3)
mongrel (1.1.5)
cgi_multipart_eof_fix (>= 2.4)
daemons (>= 1.0.3)
fastthread (>= 1.0.1)
gem_plugin (>= 0.2.3)
rack (1.5.2)
PLATFORMS
ruby
DEPENDENCIES
mongrel
rack

View File

@ -71,5 +71,5 @@ end
if ARGV.length != 4
puts "Usage: status.rb vpn-name status-log listen-host listen-port"
else
Rack::Handler::Mongrel.run OpenVPNStatusWeb.new(ARGV[0], ARGV[1]), :Host => ARGV[2], :Port => ARGV[3]
Rack::Handler::WEBrick.run OpenVPNStatusWeb.new(ARGV[0], ARGV[1]), :Host => ARGV[2], :Port => ARGV[3]
end