#!/bin/bash export TERM=linux . /etc/rc.conf . /etc/rc.d/functions stat_runit "Starting lighttpd" if [ ! -d /var/run/lighttpd ] ; then mkdir -p /var/run/lighttpd chown http /var/run/lighttpd fi # Using -angel to start lighttpd allows lighttpd to accept signals exec /usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf