Jarkko mentioned on his blog how to start lighttpd upon server boot. I wanted the process to be checked and restarted if need be just in case it crashes.
kingryan in #textdrive on IRC pointed me to this link. Download Daedalus and install it within your home directory. Create a configuration file replacing #{username} with your usename and pointing the onfailcommand to your correct lighttpd.conf:
name: lighttpd
checkcommand: /bin/ps ax
checkregex: /lighttpd/
onfailcommand: /usr/local/sbin/lighttpd -f /home/#{username}/lighttpd/lighttpd.conf
checkinterval: 30
aftercommandwait: 15
To start the watchdog daemon and assuming a ~/var/log and ~/var/run directory exists:
daedalus/daedalus.rb -c daedalus.conf -l /home/#{username}/var/log/daedalus.log -p /home/#{username}/var/run/daedalus.pid
Now go to your Textdrive Panel and add that line to your “Scheduled Cron Jobs” so on reboot daedalus gets ran again.