mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
electrsAddressAPI: set only in _background.sh
This commit is contained in:
@@ -163,7 +163,8 @@ EOF
|
||||
echo "monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log"
|
||||
|
||||
## Enable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
||||
/home/admin/config.scripts/bonus.electrsexplorer.sh
|
||||
# see /home/admin/config.scripts/bonus.electrsexplorer.sh
|
||||
# run every 10 min by _background.sh
|
||||
|
||||
# Hidden Service for BTC-RPC-explorer if Tor is active
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
|
@@ -307,7 +307,8 @@ WantedBy=multi-user.target
|
||||
fi
|
||||
|
||||
## Enable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
||||
/home/admin/config.scripts/bonus.electrsexplorer.sh
|
||||
# see /home/admin/config.scripts/bonus.electrsexplorer.sh
|
||||
# run every 10 min by _background.sh
|
||||
|
||||
echo ""
|
||||
echo "To connect through SSL from outside of the local network make sure the port 50002 is forwarded on the router"
|
||||
@@ -344,7 +345,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||
echo "OK ElectRS removed."
|
||||
|
||||
## Disable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
||||
/home/admin/config.scripts/bonus.electrsexplorer.sh off
|
||||
/home/admin/config.scripts/bonus.electrsexplorer.sh
|
||||
else
|
||||
echo "ElectRS is not installed."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user