Hi angryjack
If you are running a GUI, the simplest fix is to create a file in the .X.d directory containing:
sudo lighttpd -m /usr/local/lib/lighttpd -f /home/tc/lighttpd.conf &
It will be run automatically once X is up.
If you are not running a GUI, place the following in bootlocal.sh:
SEC=60
while [ $SEC -gt 0 ] ; do
ifconfig | grep "inet addr:" | grep -qv "127.0.0.1" && break
sleep 1
done
lighttpd -m /usr/local/lib/lighttpd -f /home/tc/lighttpd.conf