rtl: correct old hiddenservice port

This commit is contained in:
openoms 2020-06-09 21:16:32 +01:00
parent 7e093473af
commit ae37e654d9
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -214,6 +214,7 @@ EOF
# Hidden Service for RTL if Tor is active
if [ "${runBehindTor}" = "on" ]; then
# correct old Hidden Service with port
sudo sed -i "s/^HiddenServicePort 80 127.0.0.1:3000/HiddenServicePort 80 127.0.0.1:3002/g" /etc/tor/torrc
/home/admin/config.scripts/internet.hiddenservice.sh RTL 80 3002 443 3003
fi
exit 0