add logroate script and install in vm
This commit is contained in:
parent
a8f1ae51ef
commit
42ecad4199
2 changed files with 18 additions and 0 deletions
15
etc/logrotate.d/pandora
Normal file
15
etc/logrotate.d/pandora
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/var/log/pandora/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 10
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 0640 pandora pandora
|
||||
sharedscripts
|
||||
postrotate
|
||||
service pandora reload
|
||||
service pandora-tasks reload
|
||||
service pandora-encoding reload
|
||||
endscript
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue