From 2acd86c922500dc16e748990ff4c719a9da5c2a8 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 4 Mar 2020 17:44:56 +0500 Subject: [PATCH] changes in install.py --- install/install.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/install.py b/install/install.py index 4d41201e0..3f5618309 100755 --- a/install/install.py +++ b/install/install.py @@ -2361,6 +2361,10 @@ def main(): checks.setupPort() checks.setupPythonWSGI() checks.setupLSCPDDaemon() + + if args.redis != None: + checks.installRedis() + checks.fixCyberPanelPermissions() if args.postfix != None: @@ -2381,9 +2385,6 @@ def main(): preFlightsChecks.stdOut("Pure-FTPD will be installed and enabled.") checks.enableDisableFTP('on', distro) - if args.redis != None: - checks.installRedis() - checks.installCLScripts() logging.InstallLog.writeToFile("CyberPanel installation successfully completed!")