Add a newline

This commit is contained in:
Bob Mottram 2016-01-01 13:22:56 +00:00
parent 7ff67b1ce0
commit cf5cedbf6f
1 changed files with 1 additions and 0 deletions

View File

@ -6850,6 +6850,7 @@ function install_xmpp {
fi
XMPP_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_xmpp/hostname)
if ! grep -q "${XMPP_ONION_HOSTNAME}" /etc/prosody/conf.avail/xmpp.cfg.lua; then
echo '' >> /etc/prosody/conf.avail/xmpp.cfg.lua
echo "VirtualHost \"${XMPP_ONION_HOSTNAME}\"" >> /etc/prosody/conf.avail/xmpp.cfg.lua
echo ' modules_enabled = { "onions" };' >> /etc/prosody/conf.avail/xmpp.cfg.lua
fi