handle unix

This commit is contained in:
Christian Grothoff 2023-07-23 15:21:53 +02:00
parent da84b478f3
commit 7467543b57
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -649,7 +649,7 @@ then
echo -n "Wait for exchange /management/keys to be ready "
OK="0"
LAST_RESPONSE=$(mktemp tmp-last-response.XXXXXXXX)
for n in $(seq 1 50)
for n in $(seq 1 10)
do
echo -n "."
sleep "$DEFAULT_SLEEP"
@ -657,8 +657,8 @@ then
wget \
--tries=3 \
--waitretry=0 \
--timeout=1 \
"http://localhost:8081/management/keys"\
--timeout=30 \
"${EXCHANGE_URL}management/keys"\
-o /dev/null \
-O "$LAST_RESPONSE" \
>/dev/null || continue
@ -712,7 +712,7 @@ then
wget \
--tries=1 \
--timeout=1 \
"http://localhost:8081/keys" \
"${EXCHANGE_URL}keys" \
-o /dev/null \
-O "$LAST_RESPONSE" \
>/dev/null || continue