diff --git a/src/freedombone b/src/freedombone index ae66c46a..b162df75 100755 --- a/src/freedombone +++ b/src/freedombone @@ -283,6 +283,7 @@ XMPP_DIRECTORY="/var/lib/prosody" # port used for xmpp as an onion service XMPP_ONION_PORT=8091 +XMPP_ONION_PORT2=8092 # file containing a list of remote locations to backup to # Format: [username@friendsdomain//home/username] [ssh_password] @@ -6728,7 +6729,7 @@ function install_xmpp { if grep -Fxq "install_xmpp" $COMPLETION_FILE; then return fi - apt-get -y install lua-sec + apt-get -y install lua-sec lua-bitop apt-get -y install prosody prosody-modules mercurial if [ ! -d /etc/prosody ]; then @@ -6837,6 +6838,7 @@ function install_xmpp { if ! grep -q "hidden_service_xmpp" /etc/tor/torrc; then echo 'HiddenServiceDir /var/lib/tor/hidden_service_xmpp/' >> /etc/tor/torrc echo "HiddenServicePort 5222 127.0.0.1:${XMPP_ONION_PORT}" >> /etc/tor/torrc + echo "HiddenServicePort 5269 127.0.0.1:${XMPP_ONION_PORT2}" >> /etc/tor/torrc echo $'Added onion site for XMPP chat' fi