aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaul Gier <pgier@redhat.com>2018-11-15 17:50:09 -0600
committerBen Kochie <superq@gmail.com>2018-11-16 00:50:09 +0100
commit3cf5b006fb22068c8c72b0e7acabc1ae988560d3 (patch)
tree05fcb0d60bbf263e4b7e91b38ed5df61a4744d46 /examples
parentab19e0c831d9c2482880cd03271f045246ffec47 (diff)
downloadprometheus_node_collector-3cf5b006fb22068c8c72b0e7acabc1ae988560d3.tar.bz2
prometheus_node_collector-3cf5b006fb22068c8c72b0e7acabc1ae988560d3.tar.xz
prometheus_node_collector-3cf5b006fb22068c8c72b0e7acabc1ae988560d3.zip
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>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/init.d/node_exporter2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/init.d/node_exporter b/examples/init.d/node_exporter
index 74c6243..12d28aa 100755
--- a/examples/init.d/node_exporter
+++ b/examples/init.d/node_exporter
@@ -4,7 +4,7 @@ RETVAL=0
4PROG="node_exporter" 4PROG="node_exporter"
5EXEC="/etc/node_exporter/node_exporter" 5EXEC="/etc/node_exporter/node_exporter"
6LOCKFILE="/var/lock/subsys/$PROG" 6LOCKFILE="/var/lock/subsys/$PROG"
7OPTIONS="-web.listen-address=:9201" 7OPTIONS="--web.listen-address=:9100"
8 8
9# Source function library. 9# Source function library.
10if [ -f /etc/rc.d/init.d/functions ]; then 10if [ -f /etc/rc.d/init.d/functions ]; then