Restarts jvb and jicofo on upgrade.
This commit is contained in:
parent
4b8eef0f3e
commit
91c3c9ca83
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue