mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-17 21:31:45 +01:00
CLBOSS update to 0.13A
This commit is contained in:
parent
f18a567dfb
commit
ea88df84db
@ -10,6 +10,7 @@
|
||||
- Update: LND v0.14.3 [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.14.3-beta)
|
||||
- Update: RTL v0.12.3 [details](https://github.com/Ride-The-Lightning/RTL/releases/tag/v0.12.3)
|
||||
- Update: C-lightningREST v0.7.0 [details](https://github.com/Ride-The-Lightning/c-lightning-REST/releases/tag/v0.7.0)
|
||||
- Update: CLBOSS 0.13A [details](https://github.com/ZmnSCPxj/clboss/releases/tag/0.13A)
|
||||
- Update: Channel Tools (chantools) v0.10.4 [details](https://github.com/guggero/chantools/blob/master/README.md)
|
||||
- Update: Electrum Server in Rust (electrs) v0.9.7 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#097-apr-30-2022)
|
||||
- Update: BTCPayServer v1.5.1 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.5.1)
|
||||
|
@ -2,7 +2,7 @@
|
||||
# https://github.com/ZmnSCPxj/clboss#operating
|
||||
|
||||
# https://github.com/ZmnSCPxj/clboss/releases
|
||||
CLBOSSVERSION="0.12"
|
||||
CLBOSSVERSION="0.13A"
|
||||
|
||||
# command info
|
||||
if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
|
||||
@ -18,10 +18,10 @@ fi
|
||||
# source <(/home/admin/config.scripts/network.aliases.sh getvars cl <mainnet|testnet|signet>)
|
||||
source <(/home/admin/config.scripts/network.aliases.sh getvars cl $2)
|
||||
|
||||
if [ $1 = on ];then
|
||||
if [ "$1" = on ];then
|
||||
|
||||
if [ ! -f /home/bitcoin/cl-plugins-available/clboss-${CLBOSSVERSION}.tar.gz ];then
|
||||
|
||||
|
||||
# download tarball
|
||||
sudo -u bitcoin wget \
|
||||
https://github.com/ZmnSCPxj/clboss/releases/download/${CLBOSSVERSION}/clboss-${CLBOSSVERSION}.tar.gz \
|
||||
@ -34,9 +34,9 @@ if [ $1 = on ];then
|
||||
libcurl4-gnutls-dev libsqlite3-dev dnsutils
|
||||
|
||||
# install
|
||||
cd /home/bitcoin/cl-plugins-available/ || exit 1
|
||||
cd /home/bitcoin/cl-plugins-available/ || exit 1
|
||||
sudo -u bitcoin tar -xvf clboss-${CLBOSSVERSION}.tar.gz
|
||||
cd clboss-${CLBOSSVERSION} || exit 1
|
||||
cd clboss-${CLBOSSVERSION} || exit 1
|
||||
sudo -u bitcoin ./configure && sudo -u bitcoin make
|
||||
# sudo make install # installs to /usr/local/bin/clboss
|
||||
fi
|
||||
@ -61,13 +61,13 @@ if [ $1 = on ];then
|
||||
echo "sudo tail -n 100 -f /home/bitcoin/.lightning/${CLNETWORK}/cl.log | grep clboss"
|
||||
echo "${netprefix}cl clboss-status"
|
||||
echo "https://github.com/ZmnSCPxj/clboss#operating"
|
||||
|
||||
|
||||
fi
|
||||
|
||||
if [ $1 = off ];then
|
||||
if [ "$1" = off ];then
|
||||
# delete symlink
|
||||
sudo rm -rf /home/bitcoin/${netprefix}cl-plugins-enabled/clboss
|
||||
|
||||
|
||||
echo "# Restart the ${netprefix}lightningd.service to deactivate clboss"
|
||||
sudo systemctl restart ${netprefix}lightningd
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user