Update 'src/freedombone-app-xmpp'

This commit is contained in:
free 2018-06-20 14:34:03 +00:00
parent 920c8f58ca
commit 71c96afafc
1 changed files with 1 additions and 1 deletions

View File

@ -1146,7 +1146,7 @@ function install_xmpp {
fi
if ! grep -q "hidden_service_xmpp" "$ONION_SERVICES_FILE"; then
{ echo 'HiddenServiceDir /var/lib/tor/hidden_service_xmpp/';
echo 'HiddenServiceVersion 3';
echo 'HiddenServiceVersion 2';
echo "HiddenServicePort 5222 127.0.0.1:5222";
echo "HiddenServicePort 5269 127.0.0.1:5269"; } >> "$ONION_SERVICES_FILE"
echo $'Added onion site for xmpp chat'