Merge "Use python3-mod-wsgi instead of mod_wsgi on CentOS8"

This commit is contained in:
Zuul 2020-07-16 04:54:23 +00:00 committed by Gerrit Code Review
commit 489645f79e

View File

@ -152,7 +152,7 @@ function install_apache_wsgi {
install_package libapache2-mod-wsgi-py3 install_package libapache2-mod-wsgi-py3
elif is_fedora; then elif is_fedora; then
sudo rm -f /etc/httpd/conf.d/000-* sudo rm -f /etc/httpd/conf.d/000-*
install_package httpd mod_wsgi install_package httpd python3-mod_wsgi
# For consistency with Ubuntu, switch to the worker mpm, as # For consistency with Ubuntu, switch to the worker mpm, as
# the default is event # the default is event
sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf