From 3d271bc3dbf47dd9eab54fffbe2a7d124ff00225 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Sep 2023 15:12:16 +0000 Subject: [PATCH] Added coturn to convertdomain --- bin/convertdomain | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/bin/convertdomain b/bin/convertdomain index 7dfcac6..d77b082 100755 --- a/bin/convertdomain +++ b/bin/convertdomain @@ -495,6 +495,7 @@ convert_matrix() { # Delete matrix database so we can start from scratch MATRIX_SECRET=$(create_password); + COTURN_MATRIX_SECRET=$(create_password); docker exec postgresql psql -U postgres -c "drop database matrix" &> /dev/null docker exec postgresql psql -U postgres -c "drop user matrix" &> /dev/null docker exec postgresql psql -U postgres -c "CREATE USER matrix WITH PASSWORD '$MATRIX_SECRET'" @@ -521,7 +522,11 @@ convert_matrix() { # Insert our Postgres and LDAP config cat >> /federated/apps/matrix/data/matrix/homeserver.yaml < /dev/null" + + echo -ne "done." +} usage() { echo "$0: " exit 2 @@ -882,3 +904,4 @@ convert_caddy convert_castopod convert_autodiscover convert_wordpress +convert_coturn