summaryrefslogtreecommitdiffstats
path: root/systemCheck.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-22 21:13:13 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-22 21:13:13 +0100
commit76871374d39fa028d95a0430d169bae96e911823 (patch)
treee115de9e5976badb47be18530516dfc0180ccc52 /systemCheck.py
parentcore ssl fix, nginx support, https for lighttpd and nginx (diff)
downloadpyload-76871374d39fa028d95a0430d169bae96e911823.tar.xz
netload fix
Diffstat (limited to 'systemCheck.py')
-rw-r--r--systemCheck.py13
1 files changed, 8 insertions, 5 deletions
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:"