bug fix immunify360 on upgrade

This commit is contained in:
usmannasir 2024-10-18 16:31:56 +05:00
parent beebb43d24
commit 501844b711
1 changed files with 6 additions and 0 deletions

View File

@ -3613,6 +3613,12 @@ pm.max_spare_servers = 3
command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py'
Upgrade.executioner(command, command, 1)
imfExecutePath = '/usr/local/CyberCP/public/imunify/bin/execute.py'
if os.path.exists(imfExecutePath):
command = f'chmod 755 {imfExecutePath}'
Upgrade.executioner(command, command, 0)
Upgrade.installDNS_CyberPanelACMEFile()
Upgrade.stdOut("Upgrade Completed.")