Re-install will patch LNDHub to resolve timeout issues

This commit is contained in:
Taylor Helsper 2021-05-13 20:08:49 -05:00
parent c4b0967c68
commit 09d4f24411

View File

@ -416,6 +416,10 @@ if should_install_app "lndhub" ; then
sudo -u bitcoin npm install --only=production
sudo -u bitcoin ln -s /home/bitcoin/.lnd/tls.cert tls.cert
sudo -u bitcoin ln -s /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon admin.macaroon
sed -i "s|updateDescribeGraph();|//updateDescribeGraph();|g" /opt/mynode/LndHub/controllers/api.js
sed -i "s|setInterval(updateDescribeGraph|//setInterval(updateDescribeGraph|g" /opt/mynode/LndHub/controllers/api.js
echo $LNDHUB_VERSION > $LNDHUB_VERSION_FILE
fi
cd ~