I noticed that everyday I had a defunct logrotate process on one of my servers running Debian and lighttpd. After some searching I found this bug report that said to make the following changes to my
postrotate if [ -f /var/run/lighttpd.pid ]; then \ if [ -x /usr/sbin/invoke-rc.d ]; then \ invoke-rc.d lighttpd force-reload > /dev/null 2>&1; \ else \ /etc/init.d/lighttpd force-reload > /dev/null 2>&1; \ fi; \ fi;
Changes are in red. Just add “2>&1″ to the end of each command.