From 76871374d39fa028d95a0430d169bae96e911823 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 22 Mar 2010 21:13:13 +0100 Subject: netload fix --- systemCheck.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'systemCheck.py') diff --git a/systemCheck.py b/systemCheck.py index 60daaa514..7f78ec896 100644 --- a/systemCheck.py +++ b/systemCheck.py @@ -153,16 +153,19 @@ def main(): web_err.append("Please run: python %s syncdb" % join(dirname(__file__), "module", "web", "manage.py")) try: - p = subprocess.call(["lighttpd", "-v"], stdout=pipe, stderr=pipe) + import flup except: - web_info.append("Install lighttpd if you want an highperformance webserver.") + web_info.append("Install Flup to use FastCGI or optional webservers.") try: - import flup + p = subprocess.call(["lighttpd", "-v"], stdout=pipe, stderr=pipe) except: - web_info.append("Install Flup to use FastCGI and lighttpd.") - + web_info.append("Install lighttpd as optional webserver.") + try: + p = subprocess.call(["nginx", "-v"], stdout=pipe, stderr=pipe) + except: + web_info.append("Install nginx as optional webserver.") if web_err: print "The system check has detected some errors:" -- cgit v1.2.3