mirror of
https://github.com/lnbook/lnbook
synced 2024-11-01 03:20:53 +00:00
28f91cb4b4
Add entrypoint script, bash alias, log tailing and cleaner startup script
15 lines
263 B
Bash
15 lines
263 B
Bash
#!/bin/bash
|
|
|
|
echo Starting lnd...
|
|
lnd --lnddir=/lnd --noseedbackup > /dev/null &
|
|
sleep 5
|
|
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
|
|
|
|
exec "$@"
|