From eec513e9e3f4e40fa3eb469a24e286c4d92b7781 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 12 Feb 2015 13:50:21 +0200 Subject: [PATCH 1/2] Adds admins line after muc component. --- debian/jitsi-meet-prosody.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst index 8fc5f7174..1754a19d5 100644 --- a/debian/jitsi-meet-prosody.postinst +++ b/debian/jitsi-meet-prosody.postinst @@ -62,7 +62,7 @@ case "$1" in if [ -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"auth.$JVB_HOSTNAME\"" $PROSODY_HOST_CONFIG; then echo -e "\nVirtualHost \"auth.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIG echo -e " authentication = \"internal_plain\"\n" >> $PROSODY_HOST_CONFIG - echo -e "admins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n" >> $PROSODY_HOST_CONFIG + sed -i "s/Component \"conference.$JVB_HOSTNAME\" \"muc\"/Component \"conference.$JVB_HOSTNAME\" \"muc\"\nadmins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n/g" $PROSODY_HOST_CONFIG echo -e "Component \"focus.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIG echo -e " component_secret=\"$JICOFO_SECRET\"\n" >> $PROSODY_HOST_CONFIG PROSODY_CREATE_JICOFO_USER="true" From 8334036cf4223b8e9798e74c9b873b550eb71fe0 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 12 Feb 2015 15:39:56 +0200 Subject: [PATCH 2/2] Moves admins definition as it seems on some distributions after latest lua updates, causes trouble for prosody. --- doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example index 080f94bc2..9874f3940 100644 --- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example @@ -16,6 +16,7 @@ VirtualHost "jitmeet.example.com" } Component "conference.jitmeet.example.com" "muc" +admins = { "focusUser@auth.jitmeet.example.com" } Component "jitsi-videobridge.jitmeet.example.com" component_secret = "jitmeetSecret" @@ -23,7 +24,5 @@ Component "jitsi-videobridge.jitmeet.example.com" VirtualHost "auth.jitmeet.example.com" authentication = "internal_plain" -admins = { "focusUser@auth.jitmeet.example.com" } - Component "focus.jitmeet.example.com" component_secret = "focusSecret"