slackbuilds_ponce/network/lighttpd/lighttpd.logrotate
2010-05-11 15:01:30 +02:00

14 lines
232 B
Text

/var/log/lighttpd/*.log {
daily
missingok
copytruncate
rotate 7
compress
notifempty
sharedscripts
postrotate
if [ -x /etc/rc.d/rc.lighttpd -a -f /var/run/lighttpd.pid ]; then
/etc/rc.d/rc.lighttpd reload
fi
endscript
}