From 9bd1fcbede7d9876a8bd85debf2b2be9ae02f5b2 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 29 Jan 2019 13:29:30 +0100 Subject: [PATCH] [Config] Add hint to disable Solr if you do not want a readable index in solr-vol-1 --- generate_config.sh | 2 +- update.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/generate_config.sh b/generate_config.sh index d3c99e89..a882ec08 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -189,7 +189,7 @@ SKIP_IP_CHECK=n SKIP_CLAMD=${SKIP_CLAMD} -# Skip Solr on low-memory systems +# Skip Solr on low-memory systems or if you do not want to store a readable index of your mails in solr-vol-1. SKIP_SOLR=${SKIP_SOLR} # Solr heap size in MB, there is no recommendation, please see Solr docs. diff --git a/update.sh b/update.sh index 76e40805..0b1e5325 100755 --- a/update.sh +++ b/update.sh @@ -232,6 +232,7 @@ for option in ${CONFIG_ARRAY[@]}; do if ! grep -q ${option} mailcow.conf; then echo "Adding new option \"${option}\" to mailcow.conf" echo '# Solr is disabled by default after upgrading from non-Solr to Solr-enabled mailcows.' >> mailcow.conf + echo '# Disable Solr or if you do not want to store a readable index of your mails in solr-vol-1.' >> mailcow.conf echo "SKIP_SOLR=y" >> mailcow.conf fi elif ! grep -q ${option} mailcow.conf; then