aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2017-08-26 03:59:27 +0800
committerbsam <bsam@FreeBSD.org>2017-08-26 03:59:27 +0800
commit376c6dd1a95269f17c0c6bfd60c4480f65de1751 (patch)
tree87f6c3144c52983ce9c5d27778e26a1319ff58f2
parent67588e4946ff6a8af00b5b1937c90e596c4ce70a (diff)
downloadfreebsd-ports-gnome-376c6dd1a95269f17c0c6bfd60c4480f65de1751.tar.gz
freebsd-ports-gnome-376c6dd1a95269f17c0c6bfd60c4480f65de1751.tar.zst
freebsd-ports-gnome-376c6dd1a95269f17c0c6bfd60c4480f65de1751.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