slackbuilds_ponce/network/lighttpd2/conf/lighttpd2.logrotate
Matteo Bernardini 1efbfb7da2 network/lighttpd2: Added (light, fast, and secure webserver).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-08 17:28:33 -05:00

16 lines
295 B
Text

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