From 3f821ee34d0c35e89433d5de39bd3ecb5d21255e Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Fri, 17 Sep 2021 21:39:41 +0800 Subject: [PATCH] Use correct Python plugin for uwsgi on CentOS 7. --- en_US/integrations/0-integration.mlmmj.ldap.md | 1 + en_US/integrations/0-integration.mlmmj.mysql.md | 1 + en_US/integrations/0-integration.mlmmj.pgsql.md | 1 + html/integration.mlmmj.ldap.html | 1 + html/integration.mlmmj.mysql.html | 1 + html/integration.mlmmj.pgsql.html | 1 + 6 files changed, 6 insertions(+) diff --git a/en_US/integrations/0-integration.mlmmj.ldap.md b/en_US/integrations/0-integration.mlmmj.ldap.md index a18662b9..c47cd3d2 100644 --- a/en_US/integrations/0-integration.mlmmj.ldap.md +++ b/en_US/integrations/0-integration.mlmmj.ldap.md @@ -353,6 +353,7 @@ chkconfig --level 345 mlmmjadmin on # # For RHEL/CentOS 7 # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload diff --git a/en_US/integrations/0-integration.mlmmj.mysql.md b/en_US/integrations/0-integration.mlmmj.mysql.md index 281dcf49..5f50bdab 100644 --- a/en_US/integrations/0-integration.mlmmj.mysql.md +++ b/en_US/integrations/0-integration.mlmmj.mysql.md @@ -370,6 +370,7 @@ chkconfig --level 345 mlmmjadmin on # # For RHEL/CentOS 7 # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload diff --git a/en_US/integrations/0-integration.mlmmj.pgsql.md b/en_US/integrations/0-integration.mlmmj.pgsql.md index 7789bb43..f6713d2f 100644 --- a/en_US/integrations/0-integration.mlmmj.pgsql.md +++ b/en_US/integrations/0-integration.mlmmj.pgsql.md @@ -371,6 +371,7 @@ chkconfig --level 345 on mlmmjadmin # # For RHEL/CentOS # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload diff --git a/html/integration.mlmmj.ldap.html b/html/integration.mlmmj.ldap.html index 8d99ebbb..cf6918e5 100644 --- a/html/integration.mlmmj.ldap.html +++ b/html/integration.mlmmj.ldap.html @@ -372,6 +372,7 @@ chkconfig --level 345 mlmmjadmin on # # For RHEL/CentOS 7 # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload diff --git a/html/integration.mlmmj.mysql.html b/html/integration.mlmmj.mysql.html index e3d6a83e..4d9dbbd0 100644 --- a/html/integration.mlmmj.mysql.html +++ b/html/integration.mlmmj.mysql.html @@ -389,6 +389,7 @@ chkconfig --level 345 mlmmjadmin on # # For RHEL/CentOS 7 # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload diff --git a/html/integration.mlmmj.pgsql.html b/html/integration.mlmmj.pgsql.html index fbd447f1..00626f76 100644 --- a/html/integration.mlmmj.pgsql.html +++ b/html/integration.mlmmj.pgsql.html @@ -390,6 +390,7 @@ chkconfig --level 345 on mlmmjadmin # # For RHEL/CentOS # +perl -pi -e 's#python,#python36,#' /opt/mlmmjadmin/rc_scripts/systemd/rhel.service cp /opt/mlmmjadmin/rc_scripts/systemd/rhel.service /lib/systemd/system/mlmmjadmin.service chmod 0644 /lib/systemd/system/mlmmjadmin.service systemctl daemon-reload