Browse Source

Reload Prosody after successful tokens install.

master
paweldomas 10 years ago
parent
commit
7ff7545570
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      debian/jitsi-meet-tokens.postinst

+ 3
- 0
debian/jitsi-meet-tokens.postinst View File

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

Loading…
Cancel
Save