net-analyzer/prometheus-blackbox_exporter: fix typo that breaks initd
authorAustin English <wizardedit@gentoo.org>
Wed, 21 Mar 2018 18:23:11 +0000 (13:23 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 21 Mar 2018 18:23:32 +0000 (13:23 -0500)
:--config file passes '-config' instead of '--config', which doesn't work

Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd

index 45da799723d1ea3ba9017da9dbb8dabfbc72f009..ab001d41abe98ff865b07d9bb9dc3e31dd9b3014 100644 (file)
@@ -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 \