handle unix
This commit is contained in:
parent
da84b478f3
commit
7467543b57
@ -649,7 +649,7 @@ then
|
|||||||
echo -n "Wait for exchange /management/keys to be ready "
|
echo -n "Wait for exchange /management/keys to be ready "
|
||||||
OK="0"
|
OK="0"
|
||||||
LAST_RESPONSE=$(mktemp tmp-last-response.XXXXXXXX)
|
LAST_RESPONSE=$(mktemp tmp-last-response.XXXXXXXX)
|
||||||
for n in $(seq 1 50)
|
for n in $(seq 1 10)
|
||||||
do
|
do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
sleep "$DEFAULT_SLEEP"
|
sleep "$DEFAULT_SLEEP"
|
||||||
@ -657,8 +657,8 @@ then
|
|||||||
wget \
|
wget \
|
||||||
--tries=3 \
|
--tries=3 \
|
||||||
--waitretry=0 \
|
--waitretry=0 \
|
||||||
--timeout=1 \
|
--timeout=30 \
|
||||||
"http://localhost:8081/management/keys"\
|
"${EXCHANGE_URL}management/keys"\
|
||||||
-o /dev/null \
|
-o /dev/null \
|
||||||
-O "$LAST_RESPONSE" \
|
-O "$LAST_RESPONSE" \
|
||||||
>/dev/null || continue
|
>/dev/null || continue
|
||||||
@ -712,7 +712,7 @@ then
|
|||||||
wget \
|
wget \
|
||||||
--tries=1 \
|
--tries=1 \
|
||||||
--timeout=1 \
|
--timeout=1 \
|
||||||
"http://localhost:8081/keys" \
|
"${EXCHANGE_URL}keys" \
|
||||||
-o /dev/null \
|
-o /dev/null \
|
||||||
-O "$LAST_RESPONSE" \
|
-O "$LAST_RESPONSE" \
|
||||||
>/dev/null || continue
|
>/dev/null || continue
|
||||||
|
Loading…
Reference in New Issue
Block a user