gogs port

This commit is contained in:
Bob Mottram 2016-01-07 13:54:17 +00:00
parent c82cb9a2e0
commit e245e7ad2a
1 changed files with 1 additions and 1 deletions

View File

@ -6722,7 +6722,7 @@ quit" > $INSTALL_DIR/batch.sql
fi
if ! grep -q "hidden_service_gogs" /etc/tor/torrc; then
echo 'HiddenServiceDir /var/lib/tor/hidden_service_gogs/' >> /etc/tor/torrc
echo "HiddenServicePort ${GIT_ONION_HOSTNAME} 127.0.0.1:${GIT_ONION_HOSTNAME}" >> /etc/tor/torrc
echo "HiddenServicePort 80 127.0.0.1:${GIT_ONION_PORT}" >> /etc/tor/torrc
echo "HiddenServicePort 9418 127.0.0.1:9418" >> /etc/tor/torrc
echo $'Added onion site for Gogs'
fi