A Code Monkey's Blog

Install lighttpd as a service in Cygwin

cygrunsrv --install lighttpd --path /usr/sbin/lighttpd
    --args "-D -f /etc/lighttpd/lighttpd.conf" --disp "CYGWIN lighttpd"

See more http://www.cygwin.com/ml/cygwin-apps/2004-09/msg00115.html