1 2 3 4 5 6
/var/log/lighttpd/*log { missingok postrotate /bin/kill -HUP `cat /var/run/lighttpd/lighttpd.pid 2>/dev/null` 2> /dev/null || true endscript }