Alright, I've got it fixed... Sorta... I changed /etc/chkserv.d/httpd to watch on 8080 (works fine)... Then I added "lighttpd:1" to /etc/chkservd/chkservd.conf and this to a file lighttpd
Code:
service[lighttpd]=80,GET / HTTP/1.0,HTTP/1..,killall -TERM lighttpd;killall -9 lighttpd;/usr/local/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
It is now killing lighttpd every 8 minutes and restarting it... That entire line (killall -TERM... etc) works from shell... My question is as follows
1. Why is it killing lighttpd? I've checked the response and it's HTTP/1.0 403 Forbidden, so that should still work with http/1.. right?