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:  [via git-merge-pr]
This commit is contained in:
Daniel Néri 2017-10-12 09:00:22 +00:00 committed by Michael Aldridge
parent 570b0e4088
commit 509e621fb4
2 changed files with 2 additions and 2 deletions
srcpkgs/node_exporter
files/node_exporter
template

View File

@ -7,4 +7,4 @@
: ${RUNIT_COLLECTOR:='--collector.runit --collector.runit.servicedir /var/service'}
[ -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}

View File

@ -1,7 +1,7 @@
# Template file for 'node_exporter'
pkgname=node_exporter
version=0.15.0
revision=1
revision=2
build_style=go
go_import_path="github.com/prometheus/node_exporter"
go_ldflags="-X ${go_import_path}/version.Version=${version}