From 00e23f430ae153beb530797841de2a7658b96cdd Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 26 Apr 2020 18:42:49 +0500 Subject: [PATCH] fix imunify after upgrade --- plogical/upgrade.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 38d24f8a8..2eeef02bf 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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: