mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
bug fix imunify360 issue: https://github.com/usmannasir/cyberpanel/issues/1062
This commit is contained in:
@@ -164,13 +164,20 @@ pattern_to_watch = ^/home/.+?/(public_html|public_ftp|private_html)(/.*)?$
|
||||
|
||||
##
|
||||
|
||||
command = 'pkill -f "bash i360deploy.sh"'
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
if not os.path.exists('i360deploy.sh'):
|
||||
command = 'wget https://repo.imunify360.cloudlinux.com/defence360/i360deploy.sh'
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
command = 'bash i360deploy.sh --key %s --beta' % (key)
|
||||
command = 'bash i360deploy.sh --uninstall --yes'
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
command = 'bash i360deploy.sh --key %s --yes' % (key)
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
|
||||
logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath,
|
||||
"Imunify reinstalled..\n", 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user