Add a logrotate script.

This commit is contained in:
Paul Lietar
2013-06-21 11:57:57 +10:00
committed by James Laird
parent 053277eaf0
commit b4e962f6ba
2 changed files with 26 additions and 0 deletions
+16
View File
@@ -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
}