mirror of
https://github.com/lnbook/lnbook
synced 2024-11-16 21:27:59 +00:00
6f25921336
Sequencing of containers now works.
19 lines
329 B
Bash
19 lines
329 B
Bash
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
source /usr/local/bin/wait-for-bitcoind.sh
|
|
|
|
echo Starting lnd...
|
|
lnd --lnddir=/lnd --noseedbackup > /dev/null &
|
|
|
|
until lncli --lnddir=/lnd -n regtest getinfo > /dev/null 2>&1
|
|
do
|
|
sleep 1
|
|
done
|
|
echo "Startup complete"
|
|
echo "Funding lnd wallet"
|
|
source /usr/local/bin/fund-lnd.sh
|
|
|
|
echo "$@"
|
|
exec "$@"
|