mpExperienceEpload: use apache

With HTTPSimpleServer, issue with lot of connections
This commit is contained in:
Quentin De Coninck 2016-06-10 13:52:27 +02:00
parent d7e3307348
commit 6367856ee0

View File

@ -42,7 +42,7 @@ class MpExperienceEpload(MpExperience):
MpExperienceEpload.SERVER_LOG ) MpExperienceEpload.SERVER_LOG )
def getHTTPServerCmd(self): def getHTTPServerCmd(self):
s = "python -m SimpleHTTPServer 8123 &>" + MpExperienceEpload.SERVER_LOG + " &" s = "/etc/init.d/apache2 restart &>" + MpExperienceEpload.SERVER_LOG + " &"
print(s) print(s)
return s return s