mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
fix btc rpc explorer webui install
This commit is contained in:
parent
c91d0b1d05
commit
a1e988781b
@ -328,7 +328,7 @@ EOF
|
||||
fi
|
||||
|
||||
# setting value in raspi blitz config
|
||||
/home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "on"
|
||||
sudo /home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "on"
|
||||
|
||||
echo "# needs to finish creating txindex to be functional"
|
||||
echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log"
|
||||
@ -340,7 +340,7 @@ EOF
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
# make sure to keep in sync with tor.network.sh script
|
||||
/home/admin/config.scripts/tor.onion-service.sh btc-rpc-explorer 80 3022 443 3023
|
||||
sudo /home/admin/config.scripts/tor.onion-service.sh btc-rpc-explorer 80 3022 443 3023
|
||||
fi
|
||||
|
||||
source <(/home/admin/_cache.sh get state)
|
||||
@ -364,7 +364,7 @@ fi
|
||||
if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||
|
||||
# setting value in raspi blitz config
|
||||
/home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "off"
|
||||
sudo /home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "off"
|
||||
|
||||
isInstalled=$(sudo ls /etc/systemd/system/btc-rpc-explorer.service 2>/dev/null | grep -c 'btc-rpc-explorer.service')
|
||||
if [ ${isInstalled} -eq 1 ]; then
|
||||
@ -387,7 +387,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||
# Hidden Service if Tor is active
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
# make sure to keep in sync with tor.network.sh script
|
||||
/home/admin/config.scripts/tor.onion-service.sh off btc-rpc-explorer
|
||||
sudo /home/admin/config.scripts/tor.onion-service.sh off btc-rpc-explorer
|
||||
fi
|
||||
|
||||
echo "# OK BTC-RPC-explorer removed."
|
||||
|
Loading…
x
Reference in New Issue
Block a user