From 7ff754557085422b06cfdaf782e128b1f62b8b8d Mon Sep 17 00:00:00 2001 From: paweldomas Date: Tue, 3 Nov 2015 11:14:01 -0600 Subject: [PATCH] Reload Prosody after successful tokens install. --- debian/jitsi-meet-tokens.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinst index 5443f5f65..4343e219a 100644 --- a/debian/jitsi-meet-tokens.postinst +++ b/debian/jitsi-meet-tokens.postinst @@ -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