Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-blackbox_exporter/files/
Date: Wed, 21 Mar 2018 18:25:08
Message-Id: 1521656612.9c1d96bbe9468f5531367c2d15b44c9cd2227587.wizardedit@gentoo
1 commit: 9c1d96bbe9468f5531367c2d15b44c9cd2227587
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 21 18:23:11 2018 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 21 18:23:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1d96bb
7
8 net-analyzer/prometheus-blackbox_exporter: fix typo that breaks initd
9
10 :--config file passes '-config' instead of '--config', which doesn't work
11
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13
14 .../files/prometheus-blackbox_exporter.initd | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
18 index 45da799723d..ab001d41abe 100644
19 --- a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
20 +++ b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
21 @@ -1,5 +1,5 @@
22 #!/sbin/openrc-run
23 -# Copyright 2016-2017 Gentoo Foundation
24 +# Copyright 2016-2018 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 description="Prometheus blackbox exporter"
28 @@ -8,7 +8,7 @@ user=${user:-${RC_SVCNAME}}
29 group=${group:-${RC_SVCNAME}}
30
31 command="/usr/bin/blackbox_exporter"
32 -command_args="${command_args:--config.file=/etc/blackbox_exporter/blackbox.yml}"
33 +command_args="${command_args:---config.file=/etc/blackbox_exporter/blackbox.yml}"
34 command_background="true"
35 start_stop_daemon_args="--user ${user} --group ${group} \
36 --stdout /var/log/blackbox_exporter/${RC_SVCNAME}.log \