Update 51-elasticsearch

This commit is contained in:
Alexandre
2021-11-06 00:58:48 +01:00
committed by GitHub
parent cf150aae28
commit 2ae7c794c4

View File

@@ -49,15 +49,15 @@ else
$LAUNCHER fulltextsearch_elasticsearch:configure "{\"analyzer_tokenizer\":\"standard\"}"
# Is server detected
if [ curl $HOST:9200 ] &>/dev/null; then
# if [ curl $HOST:9200 ] &>/dev/null; then
# Wait further for cache for index to work
countdown "Waiting for a few seconds before indexing starts..." "10"
if $LAUNCHER fulltextsearch:index </dev/null; then
bashio::log.info "Full Text Search was successfully installed!"
fi
else
bashio::log.warning "Elasticsearch can't connect. Please manually define its server in the options"
fi
# else
# bashio::log.warning "Elasticsearch can't connect. Please manually define its server in the options"
# fi
fi