1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

mod: protect the coturn turnserver secret

This commit is contained in:
downtownallday 2022-11-14 17:38:35 -05:00
parent 2114b9a5d2
commit 7cf55db865

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"
}