Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed and updated the file with environment variables for Elasticse…
…arch I haven't yet found a way how to get rid of this file completely, so I've just renamed it to be consistent with the core file, and updated the content (removed JMX related settings, added one missing setting from the core file). Related: #320
- Loading branch information
Showing
8 changed files
with
33 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# THIS FILE IS MANAGED BY CHEF, DO NOT EDIT MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN! | ||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# | ||
# Environment configuration | ||
# See <https://github.com/elastic/elasticsearch/blob/master/core/bin/elasticsearch.in.sh> | ||
# | ||
|
||
<%= "JAVA_HOME='#{@java_home}'\n" if @java_home -%> | ||
ES_HOME='<%= "#{@es_home}/elasticsearch" %>' | ||
ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/*:$ES_HOME/lib/sigar/* | ||
ES_HEAP_SIZE=<%= @allocated_memory %> | ||
|
||
ES_JAVA_OPTS=" | ||
-server | ||
-Djava.awt.headless=true | ||
-Djava.net.preferIPv4Stack=true | ||
-Des.config=<%= @es_config %>/elasticsearch.yml | ||
-Xms<%= @Xms %> | ||
-Xmx<%= @Xmx %> | ||
-Xss<%= @Xss %> | ||
<%= @gc_settings %> | ||
-Dfile.encoding=UTF-8 | ||
-Djna.nosys=true | ||
<%= @env_options %> | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters