From 376c6dd1a95269f17c0c6bfd60c4480f65de1751 Mon Sep 17 00:00:00 2001 From: bsam Date: Fri, 25 Aug 2017 19:59:27 +0000 Subject: net-mgmt/blackbox_exporter: Fix startup parameters. The fixed error is: --- blackbox_exporter: error: unknown short flag '-w', try --help --- --- net-mgmt/blackbox_exporter/Makefile | 1 + net-mgmt/blackbox_exporter/files/blackbox_exporter.in | 4 ++-- 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 -- cgit