1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2025-09-28 21:52:05 +02:00

2 Commits

Author SHA1 Message Date
cn
563fb5743b Bump version 2013-10-08 13:23:22 +02:00
cn
a852aa4b4d React to SIGTERM 2013-10-08 13:23:02 +02:00
2 changed files with 5 additions and 1 deletions

View File

@@ -120,6 +120,10 @@ module OpenVPNStatusWeb
OpenVPNStatusWeb.logger.info "Quitting..."
Rack::Handler::WEBrick.shutdown
end
Signal.trap('TERM') do
OpenVPNStatusWeb.logger.info "Quitting..."
Rack::Handler::WEBrick.shutdown
end
Rack::Handler::WEBrick.run app, :Host => config['host'], :Port => config['port']
end

View File

@@ -1,4 +1,4 @@
module OpenVPNStatusWeb
VERSION = "1.0.1"
VERSION = "1.1.0"
end