bug fix for almalinux

This commit is contained in:
usmannasir 2024-08-05 16:31:34 +05:00
parent e7394ca692
commit ba36d33c76
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")

View File

@ -1859,6 +1859,9 @@ Retry_Command "pip install --default-timeout=3600 -r /usr/local/requirments.txt"
if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" = "22" ]] ; then
cp /usr/bin/python3.10 /usr/local/CyberCP/bin/python3
else
rsync -av --ignore-existing /usr/lib64/python3.9/ /usr/local/CyberCP/lib64/python3.9/
Check_Return
fi
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib