Browse code

Use python3-mod-wsgi instead of mod_wsgi on CentOS8

This fixes a stack.sh execution error on CentOS8. We should use
python3-mod_wsgi instead of mod_wsgi since mod_wsgi is replaced by
python3-mod_wsgi. The following change may affect this issue.
https://git.centos.org/rpms/mod_wsgi/c/4a746b53e9e3fef74b227e016e785449160871b8?branch=c8s

Change-Id: I5344ecf519e1a79091b6158c2d711d09b21fae0c
Closes-Bug: #1885645

Hirotaka Wakabayashi authored on 2020/07/02 15:19:21
Showing 1 changed files
... ...
@@ -152,7 +152,7 @@ function install_apache_wsgi {
152 152
         install_package libapache2-mod-wsgi-py3
153 153
     elif is_fedora; then
154 154
         sudo rm -f /etc/httpd/conf.d/000-*
155
-        install_package httpd mod_wsgi
155
+        install_package httpd python3-mod_wsgi
156 156
         # For consistency with Ubuntu, switch to the worker mpm, as
157 157
         # the default is event
158 158
         sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf