removed check-web.sh

This commit is contained in:
islandbitcoin
2022-12-01 15:39:02 -05:00
parent b745ab83e7
commit f47b25c70e
2 changed files with 0 additions and 14 deletions

View File

@ -9,6 +9,5 @@ ENV TOR_PROXY_IP embassy
ENV TOR_PROXY_PORT 9050
ADD ./docker_entrypoint.sh /usr/local/bin/docker_entrypoint.sh
ADD check-web.sh /usr/local/bin/check-web.sh
RUN chmod a+x /usr/local/bin/*.sh
RUN chmod a+x *.sh

View File

@ -1,13 +0,0 @@
#!/bin/bash
DURATION=$(</dev/stdin)
if (($DURATION <= 5500)); then
exit 60
else
curl --silent --fail robosats.embassy:12596 &>/dev/null
WEB_RES=$?
if [ $WEB_RES != 0 ]; then
echo "RoboSats UI is unreachable, please wait" >&2
exit 61
fi
fi