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

This commit is contained in:
andryyy
2019-01-29 13:29:30 +01:00
parent b3f84d2c78
commit 9bd1fcbede
2 changed files with 2 additions and 1 deletions

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