[Config] Add hint to disable Solr if you do not want a readable index in solr-vol-1

master
andryyy 2019-01-29 13:29:30 +01:00
parent b3f84d2c78
commit 9bd1fcbede
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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