pandorafms/pandora_server/util/pandora_logrotate

15 lines
274 B
Plaintext

/var/log/pandora/pandora*.log /var/log/pandora/pandora_server.error {
weekly
missingok
size 262144
rotate 5
maxage 15
compress
notifempty
create 640 root root
sharedscripts
postrotate
for i in `ls -1 /etc/init.d/pandora_*`;do $i stop; $i start; done
endscript
}