slackbuilds_ponce/network/pound/pound.logrotate

24 lines
401 B
Text
Raw Normal View History

/var/pound/access.log {
weekly
rotate 4
compress
notifempty
postrotate
/bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
endscript
}
/var/pound/error.log {
weekly
rotate 4
compress
notifempty
missingok
postrotate
/bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
endscript
}