This commit is contained in:
Bob Mottram 2016-06-18 13:31:22 +01:00
parent daed48a85e
commit 1a721e3232
1 changed files with 1 additions and 1 deletions

View File

@ -9989,7 +9989,7 @@ function install_media_server {
fi
# database authentication
sed -i "sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0" deployment.ini
sed -i "s|sqlalchemy.url.*|sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0|g" deployment.ini
# faster file serve
sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini