mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-07 01:18:16 +02:00
Update 51-elasticsearch
This commit is contained in:
@@ -49,7 +49,7 @@ else
|
|||||||
$LAUNCHER fulltextsearch_elasticsearch:configure "{\"analyzer_tokenizer\":\"standard\"}"
|
$LAUNCHER fulltextsearch_elasticsearch:configure "{\"analyzer_tokenizer\":\"standard\"}"
|
||||||
|
|
||||||
# Is server detected
|
# Is server detected
|
||||||
if [ curl $HOST:9100 ] &>/dev/null; then
|
if [ curl $HOST:9200 ] &>/dev/null; then
|
||||||
# Wait further for cache for index to work
|
# Wait further for cache for index to work
|
||||||
countdown "Waiting for a few seconds before indexing starts..." "10"
|
countdown "Waiting for a few seconds before indexing starts..." "10"
|
||||||
if $LAUNCHER fulltextsearch:index </dev/null; then
|
if $LAUNCHER fulltextsearch:index </dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user