From 85c1334ec9ba4db7ed73e0c5d83b7584983f671e Mon Sep 17 00:00:00 2001 From: jzinner Date: Mon, 25 May 2015 14:19:22 -0700 Subject: [PATCH] pr-11291 adding JAVA_HOME to documents and env config file --- docs/reference/setup/as-a-service.asciidoc | 1 + src/packaging/common/env/elasticsearch | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/reference/setup/as-a-service.asciidoc b/docs/reference/setup/as-a-service.asciidoc index e325c1165f9..0b9331cb116 100644 --- a/docs/reference/setup/as-a-service.asciidoc +++ b/docs/reference/setup/as-a-service.asciidoc @@ -13,6 +13,7 @@ Each package features a configuration file, which allows you to set the followin [horizontal] `ES_USER`:: The user to run as, defaults to `elasticsearch` `ES_GROUP`:: The group to run as, defaults to `elasticsearch` +`JAVA_HOME`:: Set the Java path `ES_HEAP_SIZE`:: The heap size to start with `ES_HEAP_NEWSIZE`:: The size of the new generation heap `ES_DIRECT_SIZE`:: The maximum size of the direct memory diff --git a/src/packaging/common/env/elasticsearch b/src/packaging/common/env/elasticsearch index cdf05bb900a..f1b16728d75 100644 --- a/src/packaging/common/env/elasticsearch +++ b/src/packaging/common/env/elasticsearch @@ -5,6 +5,9 @@ # Elasticsearch home directory #ES_HOME=${packaging.elasticsearch.home.dir} +# Elasticsearch Java path +#JAVA_HOME= + # Elasticsearch configuration directory #CONF_DIR=${packaging.elasticsearch.conf.dir}