diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9100c6c83..eb23f1e92 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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.")