mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
* Use typed config * Use typed config * Got bitcoin connection working in main config * Use better defaults for lnd configs * Got test working for get network using config fixture * Use sqk_dir_path instead of sqk_dir * Add logging of bitcoin configs * Don't use config option when config file doesn't exist
24 lines
473 B
Bash
24 lines
473 B
Bash
#!/usr/bin/env bash
|
|
|
|
# exit from script if error was raised.
|
|
set -e
|
|
|
|
# # 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
|
|
|
|
sleep 10
|
|
|
|
# Start using the run server command
|
|
if [ -f config.ini ]; then
|
|
exec runsqueaknode \
|
|
--config config.ini \
|
|
--log-level INFO \
|
|
run-server
|
|
else
|
|
exec runsqueaknode \
|
|
--log-level INFO \
|
|
run-server
|
|
fi
|