This commit is contained in:
Christian Grothoff 2022-08-06 13:56:26 +02:00
parent c602e11a36
commit 064659c8e9
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -14,7 +14,7 @@ set -eu
if [ "$#" -ne 4 ]; if [ "$#" -ne 4 ];
then then
echo "illegal number of parameters. \ echo "illegal number of parameters. \
Give: Nexus port number, SQLIte file path, exchange base URL, config file path." Give: Nexus port number, SQLite file path, exchange base URL, config file path."
exit 1 exit 1
fi fi
@ -36,13 +36,14 @@ set +e
echo -n "Waiting for Sandbox.." echo -n "Waiting for Sandbox.."
for n in `seq 1 50`; do for n in `seq 1 50`; do
echo -n "." echo -n "."
sleep 1 sleep 1
wget --timeout=1 \ wget --timeout=1 \
--tries=3 --waitretry=0 \ --tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \ -o /dev/null -O /dev/null \
$LIBEUFIN_SANDBOX_URL $LIBEUFIN_SANDBOX_URL
break break
done done
sleep 1 #7293
echo OK echo OK
register_sandbox_account() { register_sandbox_account() {
@ -120,13 +121,14 @@ echo -n Waiting for Nexus..
set +e set +e
for n in `seq 1 50`; do for n in `seq 1 50`; do
echo -n "." echo -n "."
sleep 1 sleep 1
wget --timeout=1 \ wget --timeout=1 \
--tries=3 --waitretry=0 \ --tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \ -o /dev/null -O /dev/null \
$LIBEUFIN_NEXUS_URL $LIBEUFIN_NEXUS_URL
break break
done done
sleep 1 #7293
set -e set -e
echo OK echo OK
export LIBEUFIN_NEXUS_USERNAME=exchange export LIBEUFIN_NEXUS_USERNAME=exchange