Fix sed
This commit is contained in:
parent
daed48a85e
commit
1a721e3232
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue