1
0
Files
btcpayserver-docker/.circleci/test-connectivity.sh
nicolas.dorier 0cb3988500 Fix circleci
2019-09-04 16:41:26 +09:00

9 lines
210 B
Bash
Executable File

#!/bin/bash
while true; do
if [ "$(curl -sL -w "%{http_code}\\n" "http://localhost/" -o /dev/null)" == "200" ]; then
echo "Successfully contacted BTCPayServer"
break
fi
sleep 1
done