From d7de69e4409dfaaadd33c2965478c79087683f5a Mon Sep 17 00:00:00 2001 From: frennkie Date: Thu, 26 Sep 2019 21:24:27 +0200 Subject: [PATCH] remove spaces so they don't end up in config file Or was this intentional? None of the other lines are prefixed with tabs/spaces in my `torrc`. --- BTCPayServer/btcpay_to_blitz.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BTCPayServer/btcpay_to_blitz.sh b/BTCPayServer/btcpay_to_blitz.sh index e45149f..5c2ebe7 100644 --- a/BTCPayServer/btcpay_to_blitz.sh +++ b/BTCPayServer/btcpay_to_blitz.sh @@ -344,11 +344,11 @@ if [ "${runBehindTor}" = "on" ]; then isElectrsTor=$(sudo cat /etc/tor/torrc 2>/dev/null | grep -c 'btcpay') if [ ${isElectrsTor} -eq 0 ]; then echo " - # Hidden Service for BTCPayServer - HiddenServiceDir /mnt/hdd/tor/btcpay - HiddenServiceVersion 3 - HiddenServicePort 80 127.0.0.1:23000 - " | sudo tee -a /etc/tor/torrc +# Hidden Service for BTCPayServer +HiddenServiceDir /mnt/hdd/tor/btcpay +HiddenServiceVersion 3 +HiddenServicePort 80 127.0.0.1:23000 +" | sudo tee -a /etc/tor/torrc sudo systemctl restart tor sudo systemctl restart tor@default @@ -363,4 +363,4 @@ if [ "${runBehindTor}" = "on" ]; then fi echo "" -echo "Visit your BTCpayServer instance on https://$YOUR_DOMAIN" \ No newline at end of file +echo "Visit your BTCpayServer instance on https://$YOUR_DOMAIN"