Handle uwsgi install for CentOS/RHEL
Change-Id: Ifa876b3e5f89258f40055fa7ce03f5e9c601771c
This commit is contained in:
parent
a13ab8db2d
commit
c2c2b6b415
@ -100,7 +100,7 @@ function install_apache_uwsgi {
|
||||
uwsgi-plugin-python \
|
||||
uwsgi-plugin-python3 \
|
||||
libapache2-mod-proxy-uwsgi
|
||||
elif [[ $os_VENDOR == "Fedora" ]]; then
|
||||
elif is_fedora; then
|
||||
# Note httpd comes with mod_proxy_uwsgi and it is loaded by
|
||||
# default; the mod_proxy_uwsgi package actually conflicts now.
|
||||
# See:
|
||||
@ -114,9 +114,7 @@ function install_apache_uwsgi {
|
||||
uwsgi-python3 \
|
||||
apache2-mod_uwsgi
|
||||
else
|
||||
# Centos actually has the module in epel, but there was a big
|
||||
# push to disable epel by default. As such, compile from source
|
||||
# there.
|
||||
# Compile uwsgi from source.
|
||||
local dir
|
||||
dir=$(mktemp -d)
|
||||
pushd $dir
|
||||
|
Loading…
Reference in New Issue
Block a user