From 658ff4a44fb90c4770bee62814a292305c0acf11 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 30 Jan 2021 23:37:34 +0000 Subject: [PATCH] Double quotes --- deploy/onion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/onion b/deploy/onion index cf277b4e6..e3bd85d22 100755 --- a/deploy/onion +++ b/deploy/onion @@ -79,6 +79,7 @@ if [ ! -d /etc/torrc.d ]; then fi if ! grep -q '%include /etc/torrc.d' /etc/tor/torrc; then echo '%include /etc/torrc.d' >> /etc/tor/torrc + systemctl restart tor fi if [ ! -f /etc/torrc.d/epicyon ]; then @@ -257,7 +258,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}" echo ' index index.html;'; echo ''; echo ' location /newsmirror {'; - echo ' root /var/www/${ONION_DOMAIN}/htdocs;'; + echo " root /var/www/${ONION_DOMAIN}/htdocs;"; echo ' try_files $uri =404;'; echo ' }'; echo '';