I am trying to get python's SimpleHTTPServer to start on boot using /etc/init/pyweb.conf and to specify the path which the script will be executed in and server files from, however I don't seem to be able to get it to work.
Here's what I have ended up with, but it's not firing off:
# Start SimpleHTTPServer
#
description "SimpleHTTPServer"
start on startup
task
exec python -m SimpleHTTPServer
--path=/var/pyweb/