7 PID_FILE
="/var/run/$NAME.pid"
8 CONF_FILE
="/etc/$NAME/$NAME.conf"
10 [ -r /etc
/default
/$NAME ] && .
/etc
/default
/$NAME
13 printf "Starting lighttpd: "
14 start-stop-daemon
-S -q -p $PID_FILE --exec $DAEMON -- -f $CONF_FILE
18 printf "Stopping lighttpd: "
19 start-stop-daemon
-K -q -p $PID_FILE
38 echo "Usage: $0 {start|stop|restart}"