mirror of
https://bitbucket.org/shim_/mumble.git
synced 2019-09-08 21:58:51 +02:00
added ssl support
This commit is contained in:
6
init.sh
6
init.sh
@@ -30,6 +30,12 @@ if [ ! -e /data/murmur.conf ]; then
|
||||
write_config_if_else "$SERVER_TEXT" 'welcometext' ''
|
||||
write_config_if_else "$REGISTER_NAME" 'registerName' ''
|
||||
write_config_if_else "$BANDWIDTH" 'bandwidth' ''
|
||||
if [ ! -z "$SSL" ] && [ "$SSL" != "false" ]; then
|
||||
NAME='murmur'
|
||||
if [ ! -z "$SSL_FILENAME" ]; then NAME="$SSL_FILENAME"; fi
|
||||
write_config "sslCert=/data/ssl/$NAME.pem"
|
||||
write_config "sslKey=/data/ssl/$NAME.key"
|
||||
fi
|
||||
if [ ! -z "$DATABASE" ] && [ "$DATABASE" == "MYSQL" ]; then
|
||||
if [ ! -z "$DB_NAME" ] && [ ! -z "$DB_HOST" ]; then
|
||||
write_config 'dbdriver' 'QMYSQL'
|
||||
|
Reference in New Issue
Block a user