From c7c83926e1a4e07591e65603c5ed8eb3c986d51a Mon Sep 17 00:00:00 2001 From: Mathias Kaufmann Date: Sun, 22 Apr 2018 10:45:02 +0200 Subject: [PATCH] Added argument (and env-var) to specify health-bind-address. --- goircd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/goircd.go b/goircd.go index c84dbec..2725269 100644 --- a/goircd.go +++ b/goircd.go @@ -57,6 +57,7 @@ var ( metrics = flag.Bool("metrics", false, "Enable metrics export") verbose = flag.Bool("v", false, "Enable verbose logging.") healtcheck = flag.Bool("healthcheck", false, "Enable healthcheck endpoint.") + healtbind = flag.String("healthbind", "[::]:8086", "Healthcheck bind address and port.") clients_tls_total = prometheus.NewCounter( prometheus.CounterOpts{