slackbuilds_ponce/network/lighttpd/conf/lighttpd.logrotate
Matteo Bernardini 1b4b316c56
network/lighttpd: Refactor configuration, changed maintainer.
Added the optional dependency lua.
Fixed php.ini location in README.SLACKWARE and hardcoded
lighttpd user (thanks to Andrzej Telszewski)

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2016-08-13 07:22:46 +07:00

16 lines
279 B
Text

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