blackbox_exporter: fix user in template
This commit is contained in:
parent
7ea8771d46
commit
befc4d863d
2 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@
|
||||||
[ -f ./conf ] && . ./conf || exit 1;
|
[ -f ./conf ] && . ./conf || exit 1;
|
||||||
[ -z "$CONF_FILE" ] && exit 2;
|
[ -z "$CONF_FILE" ] && exit 2;
|
||||||
|
|
||||||
: ${USER:=_blackbox_exporter}
|
: ${USER:=_bbox_exporter}
|
||||||
|
|
||||||
exec chpst -u $USER blackbox_exporter --config.file "${CONF_FILE}" ${ARGS}
|
exec chpst -u $USER blackbox_exporter --config.file "${CONF_FILE}" ${ARGS}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'blackbox_exporter'
|
# Template file for 'blackbox_exporter'
|
||||||
pkgname=blackbox_exporter
|
pkgname=blackbox_exporter
|
||||||
version=0.8.1
|
version=0.8.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/blackbox_exporter"
|
go_import_path="github.com/prometheus/blackbox_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