Merge pull request #21 from jetchirag/master

Added Cron Management.
This commit is contained in:
Usman Nasir
2018-03-02 17:17:51 +05:00
committed by GitHub
138 changed files with 1439 additions and 4 deletions

Binary file not shown.

View File

@@ -102,7 +102,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cyberpanel',
'USER': 'cyberpanel',
'PASSWORD': 'jFzZwX3fFyYrCo',
'PASSWORD': 'YhGk1hGnOcWwJl',
'HOST': '127.0.0.1',
'PORT':'3307'
},
@@ -110,7 +110,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mysql',
'USER': 'root',
'PASSWORD': 'b1w3wHi5x0o8t9',
'PASSWORD': '8oUlBn5AmS8RuY',
'HOST': 'localhost',
'PORT': '',
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

89
install/report.sh Executable file
View File

@@ -0,0 +1,89 @@
#!/bin/sh
#
# Please paste the output of this script when asking for installation related support on CyberPanel Forum
# Link: https://forums.cyberpanel.net/
#
clear; clear
echo
echo "Starting installation fault script"
echo Data: `date`
echo
echo "################################"
if [[ $(command -v wget) ]]; then
echo "Wget is present"
else
echo "Wget not found"
fi
echo "################################"
echo Total Ram: `free -h | awk 'NR==2 {print $2}'`
echo "Recommended: 1GB"
echo
echo "Disk Space"
df -h --total | tail -n 1
echo "################################"
echo
if [[ $(hostnamectl status | grep Virtualization) ]]; then
hostnamectl status | grep Virtualization | sed -e 's/^[ \t]*//'
else
echo "No virtualization found"
fi
# Operating System
echo
#
if [[ $(hostnamectl status | grep "Operating System") ]]; then
hostnamectl status | grep "Operating System" | sed -e 's/^[ \t]*//'
else
echo "Unable to detect operating system"
fi
# Kernel
echo
#
if [[ $(uname -a) ]]; then
echo Kernel: `uname -a`
else
echo "Unable to detect kernel"
fi
echo
#
echo "###########################"
echo
if [[ -d /usr/local/CyberCP ]]; then
echo "CyberCP directory found"
else
echo "CyberCP directory not found"
fi
echo
echo "###########################"
echo "Last 100 lines from installLogs.txt"
if [[ -f /usr/local/CyberCP/installLogs.txt ]]; then
tail -n 100 /usr/local/CyberCP/installLogs.txt
elif [[ -f install/installLogs.txt ]]; then # Look for log file in cwd/install
tail -n 100 install/installLogs.txt
elif [[ -f /var/log/installLogs.txt ]]; then
tail -n 100 /var/log/installLogs.txt
elif [[ -f /usr/local/installLogs.txt ]]; then
tail -n 100 /usr/local/installLogs.txt
else
echo "Error log file not found"
fi
echo "###########################"
echo
echo "Gunicorn Status:"
if [[ $(systemctl status gunicorn | grep active) ]]; then
echo "Gunicorn seems to be running"
else
echo "Seems like gunicorn isn't running. Printing status"
systemctl status gunicorn
fi
echo
echo "###########################"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More