mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 12:23:11 +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"
|
echo "monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log"
|
||||||
|
|
||||||
## Enable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
## 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
|
# Hidden Service for BTC-RPC-explorer if Tor is active
|
||||||
source /mnt/hdd/raspiblitz.conf
|
source /mnt/hdd/raspiblitz.conf
|
||||||
|
@@ -307,7 +307,8 @@ WantedBy=multi-user.target
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## Enable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
## 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 ""
|
||||||
echo "To connect through SSL from outside of the local network make sure the port 50002 is forwarded on the router"
|
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."
|
echo "OK ElectRS removed."
|
||||||
|
|
||||||
## Disable BTCEXP_ADDRESS_API if BTC-RPC-Explorer is active
|
## 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
|
else
|
||||||
echo "ElectRS is not installed."
|
echo "ElectRS is not installed."
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user