mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Wait for lnd tls cert to exist in docker volume before start sqkserver (#288)
This commit is contained in:
parent
8386e7e570
commit
4d5482af3b
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,13 @@ update-ca-certificates
|
|||
# needs to be told to use it over its own embedded bundle
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# Wait for the lnd cert file to exist before starting
|
||||
while ! test -f "/root/.lnd/tls.cert"; do
|
||||
sleep 10
|
||||
echo "Still waiting for lnd cert file to exist..."
|
||||
done
|
||||
|
||||
# Start using the run server command
|
||||
exec runsqueakserver \
|
||||
--config config.ini \
|
||||
--log-level INFO \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue