From 6c4eabfc4b686a72224ff06cb56c385bfc489790 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 10 Feb 2010 21:59:31 +0100 Subject: Webinterface with lighttpd! locale fixing try. --- systemCheck.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'systemCheck.py') diff --git a/systemCheck.py b/systemCheck.py index 8a1b452dc..79d8600a2 100644 --- a/systemCheck.py +++ b/systemCheck.py @@ -68,7 +68,7 @@ def main(): import pycurl except: core_err.append("Please install py-curl to use pyLoad.") - +#@TODO version > 7.19 try: import Image except: @@ -136,6 +136,18 @@ def main(): web_err.append("You dont have created database yet.") 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) + except: + web_err.append("Install lighttpd if you want an highperformance webserver.") + + try: + import flup + except: + web_err.append("Install Flup to use FastCGI and lighttpd.") + + + if web_err: print "The system check has detected some errors:" print "" -- cgit v1.2.3