瀏覽代碼

Reload Prosody after successful tokens install.

master
paweldomas 10 年之前
父節點
當前提交
7ff7545570
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      debian/jitsi-meet-tokens.postinst

+ 3
- 0
debian/jitsi-meet-tokens.postinst 查看文件

66
                 sed -i "s/ --app_secret=example_app_secret/ app_secret=$APP_SECRET/g" $PROSODY_HOST_CONFIG
66
                 sed -i "s/ --app_secret=example_app_secret/ app_secret=$APP_SECRET/g" $PROSODY_HOST_CONFIG
67
                 sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
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
             else
72
             else
70
                 echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
73
                 echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
71
             fi
74
             fi

Loading…
取消
儲存