mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
09bf0257aa
This commit includes a few other associated changes. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
16 lines
282 B
Text
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
|
|
}
|