node_exporter: Fix outdated run script
Remove `-collectors.enabled` flag -- replaced by individual boolean flags in v0.15.0. See prometheus/node_exporter#640. Closes: #8061 [via git-merge-pr]
This commit is contained in:
parent
570b0e4088
commit
509e621fb4
2 changed files with 2 additions and 2 deletions
|
@ -7,4 +7,4 @@
|
||||||
: ${RUNIT_COLLECTOR:='--collector.runit --collector.runit.servicedir /var/service'}
|
: ${RUNIT_COLLECTOR:='--collector.runit --collector.runit.servicedir /var/service'}
|
||||||
[ -n "$LISTEN_ADDR" ] && LISTEN_ADDR="--web.listen-address ${LISTEN_ADDR}"
|
[ -n "$LISTEN_ADDR" ] && LISTEN_ADDR="--web.listen-address ${LISTEN_ADDR}"
|
||||||
|
|
||||||
exec chpst -u $USER node_exporter -collectors.enabled ${RUNIT_COLLECTOR} ${LISTEN_ADDR} ${ARGS}
|
exec chpst -u $USER node_exporter ${RUNIT_COLLECTOR} ${LISTEN_ADDR} ${ARGS}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'node_exporter'
|
# Template file for 'node_exporter'
|
||||||
pkgname=node_exporter
|
pkgname=node_exporter
|
||||||
version=0.15.0
|
version=0.15.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/node_exporter"
|
go_import_path="github.com/prometheus/node_exporter"
|
||||||
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue