mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01:00
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>
This commit is contained in:
parent
ab19e0c831
commit
3cf5b006fb
@ -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…
Reference in New Issue
Block a user