aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2017-08-26 03:59:27 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:25:50 +0800
commitad6e92575ecefe487c0f4a76d0132f752eab44ed (patch)
tree5143656306a720b85ab88b0790e2623ae5edd40d
parent06ef2bc45f7492509166a49af6f2b67c94ff8ad8 (diff)
downloadfreebsd-ports-gnome-ad6e92575ecefe487c0f4a76d0132f752eab44ed.tar.gz
freebsd-ports-gnome-ad6e92575ecefe487c0f4a76d0132f752eab44ed.tar.zst
freebsd-ports-gnome-ad6e92575ecefe487c0f4a76d0132f752eab44ed.zip
net-mgmt/blackbox_exporter: Fix startup parameters.
The fixed error is: --- blackbox_exporter: error: unknown short flag '-w', try --help ---
-rw-r--r--net-mgmt/blackbox_exporter/Makefile1
-rw-r--r--net-mgmt/blackbox_exporter/files/blackbox_exporter.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/blackbox_exporter/Makefile b/net-mgmt/blackbox_exporter/Makefile
index 4d99cddc48e4..4b664aa58297 100644
--- a/net-mgmt/blackbox_exporter/Makefile
+++ b/net-mgmt/blackbox_exporter/Makefile
@@ -3,6 +3,7 @@
PORTNAME= blackbox_exporter
PORTVERSION= 0.8.1
+PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= net-mgmt
diff --git a/net-mgmt/blackbox_exporter/files/blackbox_exporter.in b/net-mgmt/blackbox_exporter/files/blackbox_exporter.in
index 693dd6f39460..4de0a9234bac 100644
--- a/net-mgmt/blackbox_exporter/files/blackbox_exporter.in
+++ b/net-mgmt/blackbox_exporter/files/blackbox_exporter.in
@@ -38,8 +38,8 @@ pidfile=/var/run/blackbox_exporter.pid
command="/usr/sbin/daemon"
procname="%%PREFIX%%/bin/blackbox_exporter"
command_args="-p ${pidfile} /usr/bin/env ${procname} \
- -web.listen-address=${blackbox_exporter_listen_address} \
- -config.file=${blackbox_exporter_config} \
+ --web.listen-address=${blackbox_exporter_listen_address} \
+ --config.file=${blackbox_exporter_config} \
${blackbox_exporter_args}"
start_precmd=blackbox_exporter_startprecmd