From 4d76722d7f1b97a50965c5f3489ba7d67b3df322 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 16 Oct 2017 14:54:07 +0200 Subject: [PATCH] solr: workaround to the just discovered 0-day vulnerability, see https://lucene.apache.org/solr/news.html --- solr/templates/solr-default.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/solr/templates/solr-default.j2 b/solr/templates/solr-default.j2 index 615e68d5..8916488a 100644 --- a/solr/templates/solr-default.j2 +++ b/solr/templates/solr-default.j2 @@ -77,6 +77,9 @@ ENABLE_REMOTE_JMX_OPTS="false" # The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here # RMI_PORT=18983 +# SOLR additional options +SOLR_OPTS="$SOLR_OPTS {{ solr_startup_opts }}" + # Set the thread stack size SOLR_OPTS="$SOLR_OPTS -Xss256k"