# UPSTART SCRIPT # /etc/init/{taskname}.conf # This task is run on startup to run miniweb which is a tiny static server description "Run the miniweb web form" start on (filesystem and net-device-up IFACE!=lo) task exec sudo twistd -no web --path /path/to/web/dir --port="tcp:8000" respawn limit 20 90