mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-25 23:34:27 +01:00
18 lines
455 B
Bash
Executable File
18 lines
455 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -f /container_monitor/bitcoin_ready
|
|
|
|
<% if ( features.indexOf('tor') !== -1 && torifyables && torifyables.indexOf('tor_bitcoin') !== -1 ) { %>
|
|
while [ ! -f "/container_monitor/tor_ready" ];
|
|
do
|
|
echo "CYPHERNODE: Waiting for Tor to be ready before starting bitcoind"
|
|
sleep 10
|
|
done
|
|
echo "CYPHERNODE: Tor is ready - Starting bitcoind"
|
|
<% } %>
|
|
|
|
# Create default wallets if they are not loaded
|
|
/.bitcoin/createWallets.sh &
|
|
|
|
exec bitcoind
|