SOLR-11853: Solr installer fails on SuSE linux

This commit is contained in:
Jan Høydahl 2019-01-02 17:24:22 +01:00
parent c34f29a4b4
commit a1c6e642aa
2 changed files with 3 additions and 1 deletions

View File

@ -200,6 +200,8 @@ Bug Fixes
* SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica (noble)
* SOLR-11853: Solr installer fails on SuSE linux (Markus Mandalka via janhoy)
Improvements
----------------------

View File

@ -193,7 +193,7 @@ else
unzip -hh &>/dev/null || print_error "Script requires the 'unzip' command"
fi
if [[ $SOLR_START == "true" ]] ; then
service --version &>/dev/null || print_error "Script requires the 'service' command"
service --version &>/dev/null || service --help &>/dev/null || print_error "Script requires the 'service' command"
java -version &>/dev/null || print_error "Solr requires java, please install or set JAVA_HOME properly"
fi
lsof -h &>/dev/null || echo "We recommend installing the 'lsof' command for more stable start/stop of Solr"