mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-11 20:43:51 +02:00
1efbfb7da2
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
16 lines
295 B
Text
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
|
|
}
|