From 00d6b54f7adfc9f2b212acded172036147b67658 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 5 Jan 2020 12:20:48 +0500 Subject: [PATCH] bug fix: add lsphp74 to tuning --- plogical/upgrade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 52a539434..24a2ac04f 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2001,8 +2001,9 @@ service_port = 9000 ## Add LSPHP7.4 TO LSWS Ent configs - if os.path.exists('/usr/local/lsws/bin/openlitespeed'): + if not os.path.exists('/usr/local/lsws/bin/openlitespeed'): command = 'wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/litespeed/httpd_config.xml' + Upgrade.executioner(command, command, 0) os.remove('/usr/local/lsws/conf/httpd_config.xml') shutil.copy('httpd_config.xml', '/usr/local/lsws/conf/httpd_config.xml')