mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 15:04:04 +00:00
13 lines
239 B
Bash
Executable File
13 lines
239 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
# Wait to see if electrs is synced
|
|
echo "Checking if electrum server is ready is synced..."
|
|
while [ ! -f "/tmp/electrs_up_to_date" ]; do
|
|
echo "electrs not synced, sleeping 1m"
|
|
/bin/sleep 30s
|
|
done
|
|
|
|
exit 0 |