Merge "Optimize the devstack setup for wsgi deployment"

This commit is contained in:
Jenkins 2017-03-21 16:17:25 +00:00 committed by Gerrit Code Review
commit 26f620eb4f
2 changed files with 3 additions and 2 deletions

View File

@ -408,7 +408,8 @@ function start_zun_api {
if [ -f ${enabled_site_file} ] && [ "$ZUN_USE_MOD_WSGI" == "True" ]; then
enable_apache_site zun
restart_apache_server
tail_log zun-api /var/log/$APACHE_NAME/zun_access.log
tail_log zun-api-access /var/log/$APACHE_NAME/zun_access.log
tail_log zun-api /var/log/$APACHE_NAME/zun_api.log
else
run_process zun-api "$ZUN_BIN_DIR/zun-api"
fi

View File

@ -27,7 +27,7 @@ Listen %PUBLICPORT%
WSGIScriptAlias / %PUBLICWSGI%
WSGIProcessGroup zun-api
ErrorLog /var/log/%APACHE_NAME%/zun_error.log
ErrorLog /var/log/%APACHE_NAME%/zun_api.log
LogLevel info
CustomLog /var/log/%APACHE_NAME%/zun_access.log combined