#4122 lnproxy deactivate for repair (#4487)

This commit is contained in:
/rootzoll 2024-03-19 18:01:55 +01:00 committed by GitHub
parent 2c56f5248b
commit 5e461ff1ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View file

@ -27,6 +27,7 @@
- Fix: PyBlock 2.2.3 [details](https://github.com/curly60e/pyblock/blob/master/README.md)
- Refactor: Wifi config with file on sd card
- Deactivated for Repair: LNDg [details](https://github.com/raspiblitz/raspiblitz/issues/4418)
- Deactivated for Repair: lnproxy [details](https://github.com/raspiblitz/raspiblitz/issues/4122)
- Deprecated: Homer Dashboard (remove from SSH menus, config script will stay with possible future removal)
- Deprecated: Bitcoinminds (remove from SSH menus, config script will stay with possible future removal)
- Remove: ItchySats (unmaintained project / in consent with dev)

View file

@ -1,10 +1,14 @@
#!/bin/bash
# Deactivated - see https://github.com/raspiblitz/raspiblitz/issues/4122
# Needs comitted maintainer or will be removed in future versions
# https://github.com/lnproxy/lnproxy/commits/main
LNPROXYVERSION="c1031bbe507623f8f196ff83aa5ea504cca05143"
# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo "DEACTIVATED FOR REPAIR - see #4122"
echo "config script to install or uninstall the lnproxy server"
echo "bonus.lnproxy.sh [on|off|menu]"
echo "installs the version $LNPROXYVERSION by default"
@ -83,7 +87,18 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# build
sudo -u lnproxy /usr/local/go/bin/go get lnproxy
if [ $? -ne 0 ]; then
echo "# FAIL -> go get lnproxy"
sudo userdel -rf lnproxy 2>/dev/null
exit 1
fi
sudo -u lnproxy /usr/local/go/bin/go build
if [ $? -ne 0 ]; then
echo "# FAIL -> go build"
sudo userdel -rf lnproxy 2>/dev/null
exit 1
fi
# manual start (in tmux)
# sudo -u lnproxy /home/lnproxy/lnproxy/lnproxy -lnd-cert /home/lnproxy/.lnd/tls.cert /home/lnproxy/lnproxy.macaroon