From 4e53857425e4272f6a67c709be5428aec910136a Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 26 Apr 2020 23:29:59 +0500 Subject: [PATCH] fix imunify after upgrade --- plogical/upgrade.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 2eeef02bf..427092015 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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.")