[mythtv-users] Logrotate settings for mythbackend.log?
Robert Tsai
rtsai1111 at comcast.net
Fri Jan 13 22:40:53 UTC 2006
On Fri, Jan 13, 2006 at 03:19:18PM -0500, Joseph A. Caputo wrote:
> OK, well I thought this was working, but I guess it's not. Anybody have
> a good logrotate configuration for mythbackend.log? Here's mine, but
> it doesn't seem to be working. (I'm running FC3)
% cat /home/myth/logrotate.d/mythbackend
compress
compresscmd /usr/bin/bzip2
compressext .bz2
nodelaycompress
rotate 7
nomail
missingok
create 644
/var/log/myth/mythbackend.log {
size 32M
postrotate
kill -HUP `cat /var/run/mythbackend.pid` 2>/dev/null
endscript
}
...
--Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060113/78914f31/attachment.pgp
More information about the mythtv-users
mailing list