Fixes initial connect of jitsi videobridge after configuring prosody.

This commit is contained in:
Damian Minkov 2014-09-17 16:52:00 +03:00
parent f6a846eecc
commit 750c4f6cf8
1 changed files with 7 additions and 1 deletions

View File

@ -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)