This commit clarifies how to override JAVA_HOME from the bundled jdk for deb and rpm installs, which each have their own file that is sourced upon service startup. closes #49068
@@ -240,7 +240,8 @@ locations for a Debian-based system:
| jdk
| The bundled Java Development Kit used to run Elasticsearch. Can
- be overriden by setting the `JAVA_HOME` environment variable.
+ be overriden by setting the `JAVA_HOME` environment variable
+ in `/etc/default/elasticsearch`.
| /usr/share/elasticsearch/jdk
d|
@@ -227,7 +227,8 @@ locations for an RPM-based system:
+ in `/etc/sysconfig/elasticsearch`.