1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-12-22 22:54:24 +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' source 'https://rubygems.org'
gem 'rack' gem 'rack'
gem 'mongrel'

View File

@ -1,20 +1,10 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: 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) rack (1.5.2)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
mongrel
rack rack

View File

@ -71,5 +71,5 @@ end
if ARGV.length != 4 if ARGV.length != 4
puts "Usage: status.rb vpn-name status-log listen-host listen-port" puts "Usage: status.rb vpn-name status-log listen-host listen-port"
else 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 end