Double quotes

merge-requests/30/head
Bob Mottram 2021-01-30 23:37:34 +00:00
parent d1e793a847
commit 658ff4a44f
1 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,7 @@ if [ ! -d /etc/torrc.d ]; then
fi fi
if ! grep -q '%include /etc/torrc.d' /etc/tor/torrc; then if ! grep -q '%include /etc/torrc.d' /etc/tor/torrc; then
echo '%include /etc/torrc.d' >> /etc/tor/torrc echo '%include /etc/torrc.d' >> /etc/tor/torrc
systemctl restart tor
fi fi
if [ ! -f /etc/torrc.d/epicyon ]; then if [ ! -f /etc/torrc.d/epicyon ]; then
@ -257,7 +258,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
echo ' index index.html;'; echo ' index index.html;';
echo ''; echo '';
echo ' location /newsmirror {'; echo ' location /newsmirror {';
echo ' root /var/www/${ONION_DOMAIN}/htdocs;'; echo " root /var/www/${ONION_DOMAIN}/htdocs;";
echo ' try_files $uri =404;'; echo ' try_files $uri =404;';
echo ' }'; echo ' }';
echo ''; echo '';