mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 01:19:29 +00:00
verbose curl ES connection fail output
This commit is contained in:
@@ -33,7 +33,7 @@ until curl -u "$ELASTIC_USER":"$ELASTIC_PASSWORD" "$ES_URL" -fs; do
|
|||||||
if [[ $counter -eq 12 ]]; then
|
if [[ $counter -eq 12 ]]; then
|
||||||
# fail after 2 min
|
# fail after 2 min
|
||||||
echo "failed to connect to elastic search, exiting..."
|
echo "failed to connect to elastic search, exiting..."
|
||||||
curl -u "$ELASTIC_USER":"$ELASTIC_PASSWORD" "$ES_URL"?pretty
|
curl -v -u "$ELASTIC_USER":"$ELASTIC_PASSWORD" "$ES_URL"?pretty
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Reference in New Issue
Block a user