diff --git a/CHANGES.md b/CHANGES.md index 1df64b9be..9d238cea7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,6 +24,7 @@ - Update: JoinMarket v0.9.8 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.8) - Update: JoininBox v0.7.4 [details](https://github.com/openoms/joininbox/releases/tag/v0.7.3) - Update: Balance of Satoshis 13.6.0 (BOS) [details](https://github.com/alexbosworth/balanceofsatoshis/blob/master/CHANGELOG.md#1360) +- Update: lndmanage 0.14.2 [details](https://github.com/bitromortac/lndmanage) - Update: Circuitbreaker with webUI [details](https://github.com/lightningequipment/circuitbreaker/blob/master/README.md) - Fixed: SCB/Emergency-Backup to USB drive (now also with CLN emergency.recover file) - Info: Run RaspiBlitz on Proxmox [details](https://github.com/rootzoll/raspiblitz/tree/dev/alternative.platforms/Proxmox) diff --git a/home.admin/_commands.sh b/home.admin/_commands.sh index 3808e5799..fc49f3aa2 100755 --- a/home.admin/_commands.sh +++ b/home.admin/_commands.sh @@ -78,6 +78,7 @@ function blitzhelp() { echo " ckbunker CKbunker" echo echo "Extras:" + echo " manage use the lndmanage bonus app" echo " whitepaper download the whitepaper from the blockchain to /home/admin/bitcoin.pdf" echo " notifyme wrapper for blitz.notify.sh that will send a notification using the configured method and settings" echo @@ -369,6 +370,21 @@ function jm() { fi } +# command: manage +# switch to lndmanage env +function manage() { + if [ $(cat /mnt/hdd/raspiblitz.conf 2>/dev/null | grep -c "lndmanage=on") -eq 1 ]; then + cd /home/admin/lndmanage + source venv/bin/activate + echo "NOTICE: Needs at least one active channel to run without error." + echo "to exit (venv) enter ---> deactivate" + lndmanage + else + echo "lndmanage not installed - to install run:" + echo "sudo /home/admin/config.scripts/bonus.lndmanage.sh on" + fi +} + # command: ckbunker # switch to the ckbunker user function ckbunker() { diff --git a/home.admin/config.scripts/bonus.lndmanage.sh b/home.admin/config.scripts/bonus.lndmanage.sh index 4612f59a5..5337e6430 100755 --- a/home.admin/config.scripts/bonus.lndmanage.sh +++ b/home.admin/config.scripts/bonus.lndmanage.sh @@ -9,7 +9,7 @@ fi # set version of LND manage to install # https://github.com/bitromortac/lndmanage/releases -lndmanageVersion="0.11.0" +lndmanageVersion="0.14.2" pgpKeyDownload="https://github.com/bitromortac.gpg" gpgFingerprint="0453B9F5071261A40FDB34181965063FC13BEBE2" @@ -69,7 +69,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then echo "# installing ..." python3 -m venv venv source /home/admin/lndmanage/venv/bin/activate - python3 -m pip install lndmanage-0.11.0-py3-none-any.whl + python3 -m pip install lndmanage-${lndmanageVersion}-py3-none-any.whl # get build dependencies # python3 -m pip install --upgrade pip wheel setuptools