Add a logrotate script.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/var/log/shairport.log
|
||||
/var/log/shairport.err
|
||||
{
|
||||
daily
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 0660 root nogroup
|
||||
sharedscripts
|
||||
|
||||
postrotate
|
||||
/etc/init.d/shairport reload
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user