From 928a97819a9806b8a2cf3b40dd0c832569cb0ee4 Mon Sep 17 00:00:00 2001 From: grendervill Date: Sat, 19 Sep 2026 20:38:55 +0300 Subject: [PATCH] =?UTF-8?q?chore(deploy):=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BD=D0=B5=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D1=83=D0=B5=D0=BC=D0=B0=D1=8F=20=D1=84=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20turn=5Fshared=5Fsecret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/install.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/deploy/install.sh b/deploy/install.sh index eacdc94..23808b0 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -902,19 +902,6 @@ render_turn_relay_servers() { "$TURN_RELAY_HOST" "$TURN_RELAY_TLS_PORT" "$TURN_RELAY_USER" "$TURN_RELAY_PASSWORD" } -# turn_shared_secret — общий секрет для coturn (use-auth-secret) и LiveKit. -# При --reconfigure сохраняется из существующего .env, иначе генерируется. -turn_shared_secret() { - if [ -n "${TURN_SECRET_RESOLVED:-}" ]; then - printf '%s' "$TURN_SECRET_RESOLVED" - return - fi - if [ -f "$GLCHAT_ENV_FILE" ]; then - TURN_SECRET_RESOLVED="$(env_get TURN_SECRET || true)" - fi - [ -n "${TURN_SECRET_RESOLVED:-}" ] || TURN_SECRET_RESOLVED="$(rand_hex 32)" - printf '%s' "$TURN_SECRET_RESOLVED" -} # install_turn_certificate копирует сертификат TURN/TLS туда, где его читает # контейнер LiveKit. Продление выполняет glchat-cert-refresh.timer.