mod: protect the coturn turnserver secret

This commit is contained in:
downtownallday
2022-11-14 17:38:35 -05:00
parent 2114b9a5d2
commit 7cf55db865
+1
View File
@@ -47,6 +47,7 @@ STATIC_AUTH_SECRET='$(generate_password 64)'
TURNSERVER_HOSTNAME=
EOF
fi
chmod 640 "$STORAGE_ROOT/voip/turnserver.conf"
. "$STORAGE_ROOT/voip/turnserver.conf"
}