fix imunify after upgrade

This commit is contained in:
Usman Nasir
2020-04-26 18:42:49 +05:00
parent 68a076dbe0
commit 00e23f430a

View File

@@ -1375,6 +1375,12 @@ class Upgrade:
## 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: