summaryrefslogtreecommitdiffstats
path: root/systemCheck.py
diff options
context:
space:
mode:
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:"