slackbuilds_ponce/network/lighttpd/conf/lighttpd.logrotate

17 lines
282 B
Text
Raw Normal View History

2010-05-11 15:01:30 +02:00
/var/log/lighttpd/*.log {
su @USER@ @GROUP@
2010-05-11 15:01:30 +02:00
daily
missingok
copytruncate
rotate 7
create 0644 lighttpd lighttpd
2010-05-11 15:01:30 +02:00
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
}