check process lighttpd with pidfile /var/run/lighttpd.pid group lighttpd start program = "/etc/init.d/lighttpd start" stop program = "/etc/init.d/lighttpd stop" if failed host rc.vc port 80 protocol HTTP request / then restart group www depends lighttpd_init depends lighttpd_bin check file lighttpd_init with path /etc/init.d/lighttpd group www check file lighttpd_bin with path /usr/sbin/lighttpd group www