mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
* Update LNbits to version 0.12.8 * remove userid from url * remove IP2Tor-on option from menu * revert to old auth method * #4586 systemd wait funding source * chore: Update lnbits.service to fallback to bitcoind.service for funding source
This commit is contained in:
parent
d21348822c
commit
d1e57d6bd2
2 changed files with 16 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
## What's new in Version 1.11.1 of RaspiBlitz?
|
## What's new in Version 1.11.1 of RaspiBlitz?
|
||||||
|
|
||||||
- New: config.scripts/lnd.signaddress.sh to easy sign messages on addresses on LND [details](https://github.com/raspiblitz/raspiblitz/issues/4540)
|
- New: config.scripts/lnd.signaddress.sh to easy sign messages on addresses on LND [details](https://github.com/raspiblitz/raspiblitz/issues/4540)
|
||||||
|
- Update: LNbits 0.12.8 [details](https://github.com/lnbits/lnbits/releases/tag/0.12.8)
|
||||||
- Update: Specter Desktop 2.0.4 with reactivated UPDATE option [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v2.0.4)
|
- Update: Specter Desktop 2.0.4 with reactivated UPDATE option [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v2.0.4)
|
||||||
- Update: acme.sh 3.0.7 (repair duckdns.org dyndns)
|
- Update: acme.sh 3.0.7 (repair duckdns.org dyndns)
|
||||||
- Remove: Tallycoin-Connect [see service shutdown](https://x.com/djbooth007/status/1784409117563720082)
|
- Remove: Tallycoin-Connect [see service shutdown](https://x.com/djbooth007/status/1784409117563720082)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# https://github.com/lnbits/lnbits
|
# https://github.com/lnbits/lnbits
|
||||||
|
|
||||||
# https://github.com/lnbits/lnbits/releases
|
# https://github.com/lnbits/lnbits/releases
|
||||||
tag="0.12.4"
|
tag="0.12.8"
|
||||||
VERSION="${tag}"
|
VERSION="${tag}"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
|
@ -201,8 +201,6 @@ Consider adding a IP2TOR Bridge under OPTIONS."
|
||||||
# just IP2TOR active - offer cancel or Lets Encrypt
|
# just IP2TOR active - offer cancel or Lets Encrypt
|
||||||
OPTIONS+=(HTTPS-ON "Add free HTTPS-Certificate for LNbits")
|
OPTIONS+=(HTTPS-ON "Add free HTTPS-Certificate for LNbits")
|
||||||
OPTIONS+=(IP2TOR-OFF "Cancel IP2Tor Subscription for LNbits")
|
OPTIONS+=(IP2TOR-OFF "Cancel IP2Tor Subscription for LNbits")
|
||||||
else
|
|
||||||
OPTIONS+=(IP2TOR-ON "Make Public with IP2Tor Subscription")
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change Funding Source options (only if available)
|
# Change Funding Source options (only if available)
|
||||||
|
@ -802,6 +800,14 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
sudo ufw allow 5001 comment 'lnbits HTTPS'
|
sudo ufw allow 5001 comment 'lnbits HTTPS'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# make sure that systemd starts funding source first
|
||||||
|
systemdDependency="bitcoind.service"
|
||||||
|
if [ "${fundingsource}" == "lnd" ]; then
|
||||||
|
systemdDependency="lnd.service"
|
||||||
|
elif [ "${fundingsource}" == "cl" ]; then
|
||||||
|
systemdDependency="lightningd.service"
|
||||||
|
fi
|
||||||
|
|
||||||
# install service
|
# install service
|
||||||
echo "*** Install systemd ***"
|
echo "*** Install systemd ***"
|
||||||
cat <<EOF | sudo tee /etc/systemd/system/lnbits.service >/dev/null
|
cat <<EOF | sudo tee /etc/systemd/system/lnbits.service >/dev/null
|
||||||
|
@ -809,8 +815,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=lnbits
|
Description=lnbits
|
||||||
Wants=bitcoind.service
|
Wants=${systemdDependency}
|
||||||
After=bitcoind.service
|
After=${systemdDependency}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/lnbits/lnbits
|
WorkingDirectory=/home/lnbits/lnbits
|
||||||
|
@ -927,6 +933,10 @@ if [ "$1" = "switch" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# make lnd.service fallback
|
||||||
|
sudo sed -i 's/Wants=lnd.service/Wants=bitcoind.service/' /etc/systemd/system/lnbits.service
|
||||||
|
sudo sed -i 's/After=lnd.service/After=bitcoind.service/' /etc/systemd/system/lnbits.service
|
||||||
|
|
||||||
echo "##############"
|
echo "##############"
|
||||||
echo "# NOTE: If you switch the funding source of a running LNbits instance all sub account will keep balance."
|
echo "# NOTE: If you switch the funding source of a running LNbits instance all sub account will keep balance."
|
||||||
echo "# Make sure that the new funding source has enough sats to cover the LNbits bookeeping of sub accounts."
|
echo "# Make sure that the new funding source has enough sats to cover the LNbits bookeeping of sub accounts."
|
||||||
|
|
Loading…
Add table
Reference in a new issue