Reload Prosody after successful tokens install.
This commit is contained in:
parent
ca89b59638
commit
7ff7545570
|
@ -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/ --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
|
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
|
else
|
||||||
echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
|
echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue