Next release version and LN waitanyinvoice only when LN installed

This commit is contained in:
kexkey
2019-03-29 13:04:52 -04:00
committed by kexkey
parent ff05ba9579
commit 2c3aa50f92
3 changed files with 21 additions and 18 deletions

View File

@@ -45,6 +45,9 @@ chmod 0600 $DB_FILE
createCurlConfig ${WATCHER_BTC_NODE_RPC_CFG} ${WATCHER_BTC_NODE_RPC_USER}
createCurlConfig ${SPENDER_BTC_NODE_RPC_CFG} ${SPENDER_BTC_NODE_RPC_USER}
./waitanyinvoice.sh &
. ${DB_PATH}/config.sh
if [ "${FEATURE_LIGHTNING}" = "true" ]; then
./waitanyinvoice.sh &
fi
nc -vlkp${PROXY_LISTENING_PORT} -e ./requesthandler.sh