mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 01:18:19 +01:00
Update 51-elasticsearch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user