diff --git a/electrs/electrs_to_RaspiBlitz.sh b/electrs/electrs_to_RaspiBlitz.sh index aa2ded7..8411691 100644 --- a/electrs/electrs_to_RaspiBlitz.sh +++ b/electrs/electrs_to_RaspiBlitz.sh @@ -266,15 +266,15 @@ source /mnt/hdd/raspiblitz.conf if [ "${runBehindTor}" = "on" ]; then isElectrsTor=$(sudo cat /etc/tor/torrc 2>/dev/null | grep -c 'electrs') if [ ${isElectrsTor} -eq 0 ]; then - echo " + echo " # Hidden Service for Electrum Server HiddenServiceDir /mnt/hdd/tor/electrs HiddenServiceVersion 3 HiddenServicePort 50002 127.0.0.1:50002 - " | sudo tee -a /etc/tor/torrc + " | sudo tee -a /etc/tor/torrc - sudo systemctl restart tor - sleep 2 + sudo systemctl restart tor + sleep 2 else echo "The Hidden Service is already installed" fi