slackbuilds_ponce/network/lighttpd/conf/lighttpd.logrotate
Robby Workman 09bf0257aa network/lighttpd: Fixed logrotate script (added "su" directive)
This commit includes a few other associated changes.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-12 18:05:13 -05:00

16 lines
282 B
Text

/var/log/lighttpd/*.log {
su @USER@ @GROUP@
daily
missingok
copytruncate
rotate 7
create 0644 lighttpd lighttpd
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
}