From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/, app-admin/logstash-bin/files/
Date: Sat, 29 Oct 2016 09:56:43 +0000 (UTC) [thread overview]
Message-ID: <1477735000.196c2bde7c25fcf057d5e6a3a497cfb2aced8ae6.patrick@gentoo> (raw)
commit: 196c2bde7c25fcf057d5e6a3a497cfb2aced8ae6
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 09:56:26 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 09:56:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196c2bde
app-admin/logstash-bin: Fix initscript some more #598422
Package-Manager: portage-2.3.2
app-admin/logstash-bin/files/{logstash.initd2 => logstash.initd3} | 4 ++--
.../{logstash-bin-5.0.0.ebuild => logstash-bin-5.0.0-r1.ebuild} | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-admin/logstash-bin/files/logstash.initd2 b/app-admin/logstash-bin/files/logstash.initd3
similarity index 93%
rename from app-admin/logstash-bin/files/logstash.initd2
rename to app-admin/logstash-bin/files/logstash.initd3
index bd0cc91..b7a8eab 100644
--- a/app-admin/logstash-bin/files/logstash.initd2
+++ b/app-admin/logstash-bin/files/logstash.initd3
@@ -15,7 +15,7 @@ LS_OPEN_FILES=${LS_OPEN_FILES:-16384}
KILL_ON_STOP_TIMEOUT=${KILL_ON_STOP_TIMEOUT:-0}
command="/opt/logstash/bin/logstash"
-command_args="--config ${LS_CONF_DIR} --log ${LS_LOG_FILE} ${LS_OPTS}"
+command_args="--path.config ${LS_CONF_DIR} --path.logs ${LS_LOG_FILE} ${LS_OPTS}"
command_background="true"
pidfile=${LS_PIDFILE:-"/run/logstash/logstash.pid"}
@@ -36,7 +36,7 @@ checkconfig() {
fi
ebegin "Checking your configuration"
- ${command} ${command_args} --configtest
+ ${command} ${command_args} --config.test_and_exit
eend $? "Configuration error. Please fix your configuration files."
}
diff --git a/app-admin/logstash-bin/logstash-bin-5.0.0.ebuild b/app-admin/logstash-bin/logstash-bin-5.0.0-r1.ebuild
similarity index 96%
rename from app-admin/logstash-bin/logstash-bin-5.0.0.ebuild
rename to app-admin/logstash-bin/logstash-bin-5.0.0-r1.ebuild
index be89a3b..669a13e 100644
--- a/app-admin/logstash-bin/logstash-bin-5.0.0.ebuild
+++ b/app-admin/logstash-bin/logstash-bin-5.0.0-r1.ebuild
@@ -46,7 +46,7 @@ src_install() {
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.initd2" "${MY_PN}"
+ newinitd "${FILESDIR}/${MY_PN}.initd3" "${MY_PN}"
}
pkg_postinst() {
next reply other threads:[~2016-10-29 9:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-29 9:56 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-07-15 16:16 [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/, app-admin/logstash-bin/files/ Mikle Kolyada
2017-09-25 11:29 Michael Orlitzky
2017-02-13 15:01 Andrew Savchenko
2017-01-17 22:54 Patrice Clement
2016-12-18 14:19 Michael Palimaka
2016-04-01 9:15 Patrick Lauer
2015-12-07 11:37 Ian Delaney
2015-12-07 11:37 Ian Delaney
2015-11-10 16:08 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477735000.196c2bde7c25fcf057d5e6a3a497cfb2aced8ae6.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox