Data directory
This commit is contained in:
parent
8bc31ba1d1
commit
c35aa87649
|
@ -9998,7 +9998,11 @@ function install_media_server {
|
||||||
sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini
|
sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini
|
||||||
|
|
||||||
# initial data
|
# initial data
|
||||||
cp -a data .
|
if [ ! -d $MEDIA_SERVER_WORKING_DIRECTORY/data ]; then
|
||||||
|
echo $'No data directory found'
|
||||||
|
exit 625728
|
||||||
|
fi
|
||||||
|
cp -a $MEDIA_SERVER_WORKING_DIRECTORY/data $MEDIA_SERVER_WORKING_DIRECTORY
|
||||||
paster setup-app deployment.ini
|
paster setup-app deployment.ini
|
||||||
|
|
||||||
# add uwsgi to deployment.ini
|
# add uwsgi to deployment.ini
|
||||||
|
|
Loading…
Reference in New Issue