Update entrypoint.sh
This commit is contained in:
parent
fe0bd66f74
commit
530e10610e
|
@ -36,6 +36,8 @@ close_mysql () {
|
|||
# MAIN PROGRAM #
|
||||
################
|
||||
|
||||
echo
|
||||
|
||||
# Configure then start Mysql
|
||||
if [ -n "$MYSQL_SERVER" ] && [ -n "$MYSQL_USER" ] && [ -n "$MYSQL_PASSWORD" ] && [ -n "$MYSQL_DB" ]; then
|
||||
sed -i -e "s/ZM_DB_NAME=zm/ZM_DB_NAME=$MYSQL_USER/g" /etc/zm.conf
|
||||
|
|
Loading…
Reference in New Issue