From 750c4f6cf828d3fbd97f09594172f1981f593b16 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Wed, 17 Sep 2014 16:52:00 +0300 Subject: [PATCH] Fixes initial connect of jitsi videobridge after configuring prosody. --- debian/jitsi-meet-prosody.postinst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst index 43203b8809..a41c7b8411 100644 --- a/debian/jitsi-meet-prosody.postinst +++ b/debian/jitsi-meet-prosody.postinst @@ -57,7 +57,13 @@ case "$1" in fi ln -sf /var/lib/prosody/$JVB_HOSTNAME.key /etc/prosody/certs/$JVB_HOSTNAME.key ln -sf /var/lib/prosody/$JVB_HOSTNAME.crt /etc/prosody/certs/$JVB_HOSTNAME.crt - invoke-rc.d prosody restart + + if [ "PROSODY_CONFIG_PRESENT" = "true" ]; then + invoke-rc.d prosody reload + else + invoke-rc.d prosody restart + invoke-rc.d jitsi-videobridge restart + fi ;; abort-upgrade|abort-remove|abort-deconfigure)