summaryrefslogtreecommitdiffstats
path: root/systemCheck.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-10 21:59:31 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-10 21:59:31 +0100
commit6c4eabfc4b686a72224ff06cb56c385bfc489790 (patch)
tree913239e4a2d994e813134b94f66a49eec9a4b201 /systemCheck.py
parentwebif patch #75 (thx kepheus) (diff)
downloadpyload-6c4eabfc4b686a72224ff06cb56c385bfc489790.tar.xz
Webinterface with lighttpd! locale fixing try.
Diffstat (limited to 'systemCheck.py')
-rw-r--r--systemCheck.py14
1 files changed, 13 insertions, 1 deletions
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 ""