From be3948701c369533b3db1aba7f636c1e4f63b3f4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Nov 2014 20:56:57 +0000 Subject: [PATCH] Fixing prosody --- install-freedombone.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index b6404c5c..da6c6ebf 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -3493,7 +3493,9 @@ function install_xmpp { sed -i 's/--"bosh";/"bosh";/g' /etc/prosody/prosody.cfg.lua sed -i 's/authentication = "internal_plain"/authentication = "internal_hashed"/g' /etc/prosody/prosody.cfg.lua sed -i 's/enabled = false -- Remove this line to enable this host//g' /etc/prosody/prosody.cfg.lua - sed -i 's/example.com/$DOMAIN_NAME/g' /etc/prosody/prosody.cfg.lua + sed -i 's|key = "/etc/prosody/certs/example.com.key"|key = "/etc/ssl/private/xmpp.key"|g' /etc/prosody/prosody.cfg.lua + sed -i 's|certificate = "/etc/prosody/certs/example.com.crt"|certificate = "/etc/ssl/certs/xmpp.crt"|g' /etc/prosody/prosody.cfg.lua + sed -i "s/example.com/$DOMAIN_NAME/g" /etc/prosody/prosody.cfg.lua service prosody restart touch /home/$MY_USERNAME/README