Reload Prosody after successful tokens install.

This commit is contained in:
paweldomas 2015-11-03 11:14:01 -06:00
parent ca89b59638
commit 7ff7545570
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@ case "$1" in
sed -i "s/ --app_secret=example_app_secret/ app_secret=$APP_SECRET/g" $PROSODY_HOST_CONFIG
sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
if [ -x "/etc/init.d/prosody" ]; then
invoke-rc.d prosody reload
fi
else
echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
fi