Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 19:59:27 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448739 - in head/net-mgmt/blackbox_exporter: . files
Message-ID:  <201708251959.v7PJxRrm047928@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Fri Aug 25 19:59:27 2017
New Revision: 448739
URL: https://svnweb.freebsd.org/changeset/ports/448739

Log:
  net-mgmt/blackbox_exporter: Fix startup parameters.
  The fixed error is:
  ---
  blackbox_exporter: error: unknown short flag '-w',  try --help
  ---

Modified:
  head/net-mgmt/blackbox_exporter/Makefile
  head/net-mgmt/blackbox_exporter/files/blackbox_exporter.in

Modified: head/net-mgmt/blackbox_exporter/Makefile
==============================================================================
--- head/net-mgmt/blackbox_exporter/Makefile	Fri Aug 25 19:58:51 2017	(r448738)
+++ head/net-mgmt/blackbox_exporter/Makefile	Fri Aug 25 19:59:27 2017	(r448739)
@@ -3,6 +3,7 @@
 
 PORTNAME=	blackbox_exporter
 PORTVERSION=	0.8.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=v
 CATEGORIES=	net-mgmt
 

Modified: head/net-mgmt/blackbox_exporter/files/blackbox_exporter.in
==============================================================================
--- head/net-mgmt/blackbox_exporter/files/blackbox_exporter.in	Fri Aug 25 19:58:51 2017	(r448738)
+++ head/net-mgmt/blackbox_exporter/files/blackbox_exporter.in	Fri Aug 25 19:59:27 2017	(r448739)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708251959.v7PJxRrm047928>