From ee2af3ba2ab0805ad7aac5700e8e75955480406e Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Mon, 14 Aug 2023 10:00:51 +0200 Subject: [PATCH] Disable JAVA setting in environment.epp by default Graylog ships with a JRE since version 5.0. Fixes #60 --- templates/server/environment.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/server/environment.epp b/templates/server/environment.epp index 7a10d5d..33ecc3e 100644 --- a/templates/server/environment.epp +++ b/templates/server/environment.epp @@ -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"