From 581bab739f837c22bd7bba545fa93d092b5de5ca Mon Sep 17 00:00:00 2001 From: Jeff Volkenant Date: Sat, 30 Nov 2019 16:47:04 -0800 Subject: [PATCH] Fixed error when config section is not commented --- conf/solr-jetty.xml | 22 ++++++++++++++++++++++ setup/solr.sh | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 conf/solr-jetty.xml diff --git a/conf/solr-jetty.xml b/conf/solr-jetty.xml new file mode 100644 index 00000000..27de9994 --- /dev/null +++ b/conf/solr-jetty.xml @@ -0,0 +1,22 @@ + + + + + + + /solr + /usr/share/solr/web + + + + solr.solr.home + /usr/share/solr + + + + + diff --git a/setup/solr.sh b/setup/solr.sh index 16cc3f14..9b13ceb9 100644 --- a/setup/solr.sh +++ b/setup/solr.sh @@ -28,6 +28,9 @@ apt_install solr-jetty dovecot-solr # Solr requires a schema to tell it how to index data, this is provided by dovecot cp /usr/share/dovecot/solr-schema.xml /etc/solr/conf/schema.xml +# Default config has an error with our config, placing our custom version +cp conf/solr-jetty.xml /etc/solr/solr-jetty.xml + # Update the dovecot plugin configuration # # Break-imap-search makes search work the way users expect, rather than the way