slackbuilds_ponce/network/lighttpd2/conf/lighttpd2.logrotate
Matteo Bernardini 4d0483f0ce network/lighttpd2: Updated for version 20121206_01abf70.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2013-01-13 13:20:52 -06:00

32 lines
621 B
Text

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