Merge "Switch Centos/Fedora to Apache woker MPM"

This commit is contained in:
Jenkins 2017-08-10 15:58:51 +00:00 committed by Gerrit Code Review
commit 7acc29ba9a

View File

@ -132,6 +132,10 @@ function install_apache_wsgi {
elif is_fedora; then
sudo rm -f /etc/httpd/conf.d/000-*
install_package httpd mod_wsgi
# For consistency with Ubuntu, switch to the worker mpm, as
# the default is prefork
sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
sudo sed -i '/mod_mpm_worker.so/s/^#//g' /etc/httpd/conf.modules.d/00-mpm.conf
elif is_suse; then
install_package apache2 apache2-mod_wsgi
else