Use correct Python plugin for uwsgi on CentOS 7.
This commit is contained in:
parent
e007df23ef
commit
3f821ee34d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue