openvpn-status-web 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/openvpn-status-web.rb +4 -0
- data/lib/openvpn-status-web/version.rb +1 -1
- metadata +4 -4
data/lib/openvpn-status-web.rb
CHANGED
@@ -120,6 +120,10 @@ module OpenVPNStatusWeb
|
|
120
120
|
OpenVPNStatusWeb.logger.info "Quitting..."
|
121
121
|
Rack::Handler::WEBrick.shutdown
|
122
122
|
end
|
123
|
+
Signal.trap('TERM') do
|
124
|
+
OpenVPNStatusWeb.logger.info "Quitting..."
|
125
|
+
Rack::Handler::WEBrick.shutdown
|
126
|
+
end
|
123
127
|
|
124
128
|
Rack::Handler::WEBrick.run app, :Host => config['host'], :Port => config['port']
|
125
129
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openvpn-status-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash:
|
188
|
+
hash: -923549073
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
segments:
|
196
196
|
- 0
|
197
|
-
hash:
|
197
|
+
hash: -923549073
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
200
|
rubygems_version: 1.8.25
|