mirror of
https://github.com/RoboSats/robosats-startos.git
synced 2025-12-24 20:29:18 +00:00
removed check-web.sh
This commit is contained in:
@ -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
|
||||
|
||||
13
check-web.sh
13
check-web.sh
@ -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
|
||||
Reference in New Issue
Block a user