Restarts jvb and jicofo on upgrade.

This commit is contained in:
paweldomas 2014-12-04 12:40:13 +01:00
parent 4b8eef0f3e
commit 91c3c9ca83
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ case "$1" in
# create 'focus@auth.domain' prosody user # create 'focus@auth.domain' prosody user
# FIXME this duplicates with above # FIXME this duplicates with above
prosodyctl register $JICOFO_AUTH_USER $JICOFO_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD prosodyctl register $JICOFO_AUTH_USER $JICOFO_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD
# trigger a restart
PROSODY_CONFIG_PRESENT="false"
fi fi
if [ ! -f /var/lib/prosody/$JVB_HOSTNAME.crt ]; then if [ ! -f /var/lib/prosody/$JVB_HOSTNAME.crt ]; then