Browse Source

examples/init.d: fix web.listen-address flag (#1157)

CLI flags use two dashes instead of one since v0.15.0
Also, use default port number
Fixes #1156

Signed-off-by: Paul Gier <pgier@redhat.com>
pull/1164/head
Paul Gier 6 years ago committed by Ben Kochie
parent
commit
3cf5b006fb
  1. 2
      examples/init.d/node_exporter

2
examples/init.d/node_exporter

@ -4,7 +4,7 @@ RETVAL=0
PROG="node_exporter"
EXEC="/etc/node_exporter/node_exporter"
LOCKFILE="/var/lock/subsys/$PROG"
OPTIONS="-web.listen-address=:9201"
OPTIONS="--web.listen-address=:9100"
# Source function library.
if [ -f /etc/rc.d/init.d/functions ]; then

Loading…
Cancel
Save