From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/files/
Date: Fri, 25 May 2018 13:14:41 +0000 (UTC) [thread overview]
Message-ID: <1527254041.426ed349ab5ba38a3a3a2266a2d5199ad2d206a4.bman@gentoo> (raw)
commit: 426ed349ab5ba38a3a3a2266a2d5199ad2d206a4
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Thu May 24 12:04:07 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri May 25 13:14:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426ed349
app-misc/elasticsearch: allow to override LOG_DIR
Closes: https://bugs.gentoo.org/654630
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8547
app-misc/elasticsearch/files/elasticsearch.init.3 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-misc/elasticsearch/files/elasticsearch.init.3 b/app-misc/elasticsearch/files/elasticsearch.init.3
index ab086197ec9..cd89acd9f99 100644
--- a/app-misc/elasticsearch/files/elasticsearch.init.3
+++ b/app-misc/elasticsearch/files/elasticsearch.init.3
@@ -8,11 +8,11 @@ ES_INSTANCE=${SVCNAME#*.}
if [ -n "${ES_INSTANCE}" ] && [ ${SVCNAME} != "elasticsearch" ]; then
ES_BASE_PATH="/var/lib/elasticsearch/${ES_INSTANCE}"
CONF_DIR="/etc/elasticsearch/${ES_INSTANCE}"
- LOG_DIR="/var/log/elasticsearch/${ES_INSTANCE}"
+ DEFAULT_LOG_DIR="/var/log/elasticsearch/${ES_INSTANCE}"
else
ES_BASE_PATH="/var/lib/elasticsearch/_default"
CONF_DIR="/etc/elasticsearch"
- LOG_DIR="/var/log/elasticsearch/_default"
+ DEFAULT_LOG_DIR="/var/log/elasticsearch/_default"
fi
ES_HOME=${ES_HOME:="/usr/share/elasticsearch"}
@@ -23,6 +23,7 @@ MAX_OPEN_FILES=${MAX_OPEN_FILES:=65536}
MAX_MAP_COUNT=${MAX_MAP_COUNT:=262144}
DATA_DIR=${DATA_DIR:="${ES_BASE_PATH}/data"}
+LOG_DIR=${LOG_DIR:="${DEFAULT_LOG_DIR}"}
if [ -f "${CONF_DIR}/elasticsearch.in.sh" ]; then
ES_INCLUDE="${CONF_DIR}/elasticsearch.in.sh"
next reply other threads:[~2018-05-25 13:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-25 13:14 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-30 12:55 [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/files/ Florian Schmaus
2021-06-20 7:44 Joonas Niilola
2019-09-19 9:01 Michał Górny
2018-09-22 7:07 Michał Górny
2017-11-05 15:37 Patrice Clement
2015-12-17 13:59 Ian Delaney
2015-12-16 11:22 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=1527254041.426ed349ab5ba38a3a3a2266a2d5199ad2d206a4.bman@gentoo \
--to=bman@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