bin/postfix-exporter in postfix-exporter-1.0.1 vs bin/postfix-exporter in postfix-exporter-1.0.2
- old
+ new
@@ -73,6 +73,6 @@
logger = Logger.new($stderr)
logger.level = Logger::INFO
logger.formatter = proc { |s, t, p, m| "WEBrick: #{m}\n" }
-Rack::Handler::WEBrick.run app, Host: '::', Port: 9154, Logger: logger, AccessLog: []
+Rack::Handler::WEBrick.run app, Host: (RUBY_VERSION >= '2.1' ? '*' : '::'), Port: 9154, Logger: logger, AccessLog: []