commit:     9c1d96bbe9468f5531367c2d15b44c9cd2227587
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 21 18:23:11 2018 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Mar 21 18:23:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1d96bb

net-analyzer/prometheus-blackbox_exporter: fix typo that breaks initd

:--config file passes '-config' instead of '--config', which doesn't work

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/prometheus-blackbox_exporter.initd                          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
index 45da799723d..ab001d41abe 100644
--- 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
+++ 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
+# Copyright 2016-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Prometheus blackbox exporter"
@@ -8,7 +8,7 @@ user=${user:-${RC_SVCNAME}}
 group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/blackbox_exporter"
-command_args="${command_args:--config.file=/etc/blackbox_exporter/blackbox.yml}"
+command_args="${command_args:---config.file=/etc/blackbox_exporter/blackbox.yml}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
        --stdout /var/log/blackbox_exporter/${RC_SVCNAME}.log \

Reply via email to