fix imunify after upgrade

This commit is contained in:
Usman Nasir
2020-04-26 23:29:59 +05:00
parent 00e23f430a
commit 4e53857425

View File

@@ -1373,14 +1373,6 @@ class Upgrade:
Upgrade.stdOut('Settings file restored!')
## Move static files
imunifyPath = '/usr/local/CyberCP/public/imunify'
if os.path.exists(imunifyPath):
command = "yum reinstall imunify360-firewall-generic -y"
Upgrade.executioner(command, command, 1)
Upgrade.staticContent()
except:
@@ -2113,6 +2105,14 @@ vmail
Upgrade.installCLScripts()
Upgrade.runSomeImportantBash()
## Move static files
imunifyPath = '/usr/local/CyberCP/public/imunify'
if os.path.exists(imunifyPath):
command = "yum reinstall imunify360-firewall-generic -y"
Upgrade.executioner(command, command, 1)
Upgrade.stdOut("Upgrade Completed.")