mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +00:00
Re-install will patch LNDHub to resolve timeout issues
This commit is contained in:
parent
c4b0967c68
commit
09d4f24411
|
@ -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 ~
|
||||
|
|
Loading…
Reference in New Issue
Block a user