Skip to content

Commit

Permalink
net-analyzer/prometheus-blackbox_exporter: fix typo that breaks initd
Browse files Browse the repository at this point in the history
:--config file passes '-config' instead of '--config', which doesn't work

Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
austin987 committed Mar 21, 2018
1 parent f8cfa5b commit 9c1d96b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 \
Expand Down

0 comments on commit 9c1d96b

Please sign in to comment.