From decd730623d87c07845536bbfec738822c440b1e Mon Sep 17 00:00:00 2001 From: cn Date: Fri, 15 Feb 2013 23:14:52 +0100 Subject: [PATCH] Add CLI --- status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status.rb b/status.rb index 9c5e8fb..4ccce8e 100644 --- a/status.rb +++ b/status.rb @@ -67,4 +67,4 @@ class OpenVPNStatusWeb end end -Rack::Handler::Mongrel.run OpenVPNStatusWeb.new('', ''), :Port => 9292 +Rack::Handler::Mongrel.run OpenVPNStatusWeb.new(ARGV[0], ARGV[1]), :Host => ARGV[2], :Port => ARGV[3]