|
|
|
|
1146
|
fi
|
1146
|
fi
|
1147
|
if ! grep -q "hidden_service_xmpp" "$ONION_SERVICES_FILE"; then
|
1147
|
if ! grep -q "hidden_service_xmpp" "$ONION_SERVICES_FILE"; then
|
1148
|
{ echo 'HiddenServiceDir /var/lib/tor/hidden_service_xmpp/';
|
1148
|
{ echo 'HiddenServiceDir /var/lib/tor/hidden_service_xmpp/';
|
1149
|
- echo 'HiddenServiceVersion 3';
|
|
|
|
|
1149
|
+ echo 'HiddenServiceVersion 2';
|
1150
|
echo "HiddenServicePort 5222 127.0.0.1:5222";
|
1150
|
echo "HiddenServicePort 5222 127.0.0.1:5222";
|
1151
|
echo "HiddenServicePort 5269 127.0.0.1:5269"; } >> "$ONION_SERVICES_FILE"
|
1151
|
echo "HiddenServicePort 5269 127.0.0.1:5269"; } >> "$ONION_SERVICES_FILE"
|
1152
|
echo $'Added onion site for xmpp chat'
|
1152
|
echo $'Added onion site for xmpp chat'
|