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:
parent
cdf4b92096
commit
f015eaec05
1
Gemfile
1
Gemfile
@ -1,4 +1,3 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'rack'
|
gem 'rack'
|
||||||
gem 'mongrel'
|
|
||||||
|
10
Gemfile.lock
10
Gemfile.lock
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user