diff --git a/services/solr/builder.js b/builders/solr.js similarity index 98% rename from services/solr/builder.js rename to builders/solr.js index 29b371b..ce29997 100644 --- a/services/solr/builder.js +++ b/builders/solr.js @@ -2,6 +2,7 @@ // Modules const _ = require('lodash'); +const path = require('path'); // Versions const supportedVersions = [ @@ -152,7 +153,7 @@ module.exports = { legacy: ['6.6', '6', '5.5', '5', '4.10', '4', '3.6', '3'], patchesSupported: true, command: '/start-solr.sh', - confSrc: __dirname, + confSrc: path.resolve(__dirname, '..', 'config'), core: 'lando', dataDir: '/opt/solr/server/solr/mycores', moreHttpPorts: ['8983'], diff --git a/services/solr/start-solr-3.sh b/config/start-solr-3.sh similarity index 100% rename from services/solr/start-solr-3.sh rename to config/start-solr-3.sh diff --git a/services/solr/start-solr-4.sh b/config/start-solr-4.sh similarity index 100% rename from services/solr/start-solr-4.sh rename to config/start-solr-4.sh diff --git a/services/solr/start-solr-9.sh b/config/start-solr-9.sh similarity index 100% rename from services/solr/start-solr-9.sh rename to config/start-solr-9.sh diff --git a/services/solr/start-solr.sh b/config/start-solr.sh similarity index 100% rename from services/solr/start-solr.sh rename to config/start-solr.sh