* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/files/
@ 2018-03-12 22:48 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2018-03-12 22:48 UTC (permalink / raw
To: gentoo-commits
commit: 4a4f25e70b1b67c211d75a3292d61074911433c4
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 12 22:48:16 2018 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Mar 12 22:48:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4f25e7
net-analyzer/prometheus-snmp_exporter: fix typo in initd
austin <AT> austin1 ~ $ touch snmp.yml
austin <AT> austin1 ~ $ /usr/bin/snmp_exporter --config-file=snmp.yml
snmp_exporter: error: unknown long flag '--config-file', try --help
austin <AT> austin1 ~ $ /usr/bin/snmp_exporter --config.file=snmp.yml
INFO[0000] Starting snmp exporter (version=0.8.0, branch=non-git, revision=17cefca) source="main.go:125"
INFO[0000] Build context (go=go1.9.4, user=portage <AT> releng3, date=20180222-23:34:24) source="main.go:126"
INFO[0000] Listening on :9116 source="main.go:205"
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
index 4d620b54b17..b214422704e 100644
--- a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_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 snmp exporter"
@@ -8,7 +8,7 @@ user=${user:-${RC_SVCNAME}}
group=${group:-${RC_SVCNAME}}
command="/usr/bin/snmp_exporter"
-command_args="${command_args:---config-file=/etc/snmp_exporter/snmp.yml}"
+command_args="${command_args:---config.file=/etc/snmp_exporter/snmp.yml}"
command_background="true"
start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/snmp_exporter/${RC_SVCNAME}.log \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/files/
@ 2018-03-12 23:07 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2018-03-12 23:07 UTC (permalink / raw
To: gentoo-commits
commit: c11f7dc739f73ee9efe622a742d5f2c128a39a4a
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 12 23:07:21 2018 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Mar 12 23:07:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11f7dc7
net-analyzer/prometheus-snmp_exporter: fix typo in confd
austin <AT> austin1 ~ $ touch snmp.yml
austin <AT> austin1 ~ $ /usr/bin/snmp_exporter --config-file=snmp.yml
snmp_exporter: error: unknown long flag '--config-file', try --help
austin <AT> austin1 ~ $ /usr/bin/snmp_exporter --config.file=snmp.yml
INFO[0000] Starting snmp exporter (version=0.8.0, branch=non-git, revision=17cefca) source="main.go:125"
INFO[0000] Build context (go=go1.9.4, user=portage <AT> releng3, date=20180222-23:34:24) source="main.go:126"
INFO[0000] Listening on :9116 source="main.go:205"
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
index e80d6a1a850..c5e56a67e15 100644
--- a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
@@ -1,2 +1,2 @@
# arguments for prometheus snmp exporter
-command_args="--config-file=/etc/snmp_exporter/snmp.yml"
+command_args="--config.file=/etc/snmp_exporter/snmp.yml"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-12 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12 22:48 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/files/ Austin English
-- strict thread matches above, loose matches on Subject: below --
2018-03-12 23:07 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox