mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 05:56:59 +02:00
Merge branch 'v2.3.4' of https://github.com/usmannasir/cyberpanel into v2.3.4
This commit is contained in:
@@ -3046,15 +3046,15 @@ vmail
|
||||
# command = "yum reinstall imunify360-firewall-generic -y"
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
#
|
||||
# imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf'
|
||||
#
|
||||
# if os.path.exists(imunifyAVPath):
|
||||
# execPath = "/usr/local/CyberCP/bin/python /usr/local/CyberCP/CLManager/CageFS.py"
|
||||
# command = execPath + " --function submitinstallImunifyAV"
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
#
|
||||
# command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py'
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf'
|
||||
|
||||
if os.path.exists(imunifyAVPath):
|
||||
execPath = "/usr/local/CyberCP/bin/python /usr/local/CyberCP/CLManager/CageFS.py"
|
||||
command = execPath + " --function submitinstallImunifyAV"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py'
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
Upgrade.stdOut("Upgrade Completed.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user