bug fix to lsws switch

This commit is contained in:
usmannasir
2018-11-10 02:37:45 +05:00
parent d05fc2160e
commit b05a9f2491
12 changed files with 1018 additions and 462 deletions

View File

@@ -95,7 +95,7 @@ class ProcessUtilities:
def decideServer():
entPath = '/usr/local/lsws/bin/lshttpd'
if os.readlink(entPath) == '/usr/local/lsws/bin/lshttpd/openlitespeed':
if os.path.exists('/usr/local/lsws/bin/openlitespeed'):
return ProcessUtilities.OLS
else:
return ProcessUtilities.ent