Skip to content

Commit

Permalink
Disable JAVA setting in environment.epp by default
Browse files Browse the repository at this point in the history
Graylog ships with a JRE since version 5.0.

Fixes #60
  • Loading branch information
bernd committed Aug 14, 2023
1 parent abe868a commit ee2af3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/server/environment.epp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%- | String $java_initial_heap_size = '1g', String $java_max_heap_size = '1g', String $java_opts = "" | -%>
# Path to the java executable.
JAVA=/usr/bin/java
#JAVA=/usr/bin/java

# Default Java options for heap and garbage collection.
GRAYLOG_SERVER_JAVA_OPTS="-Xms<%= $java_initial_heap_size %> -Xmx<%= $java_max_heap_size %> -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow"
Expand Down

0 comments on commit ee2af3b

Please sign in to comment.