mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
Merge branch 'v2.3.9-dev' into v2.3.9
This commit is contained in:
@@ -3475,9 +3475,9 @@ pm.max_spare_servers = 3
|
||||
|
||||
##
|
||||
|
||||
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
execPath = execPath + " removeCSF"
|
||||
Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||
# execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
# execPath = execPath + " removeCSF"
|
||||
# Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||
|
||||
Upgrade.downloadAndUpgrade(versionNumbring, branch)
|
||||
versionNumbring = Upgrade.downloadLink()
|
||||
@@ -3609,12 +3609,12 @@ pm.max_spare_servers = 3
|
||||
print("Backing up files...")
|
||||
backup_files()
|
||||
|
||||
# execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
# execPath = execPath + " removeCSF"
|
||||
# Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
execPath = execPath + " removeCSF"
|
||||
Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||
|
||||
# execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
# execPath = execPath + " installCSF"
|
||||
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||
execPath = execPath + " installCSF"
|
||||
|
||||
# Restore the files
|
||||
print("Restoring files...")
|
||||
|
||||
Reference in New Issue
Block a user