[mythtv-users] Logrotate settings for mythbackend.log?

Stef Coene stef.coene at docum.org
Tue Jan 17 11:02:54 UTC 2006


On Tuesday 17 January 2006 10:36, Phill Edwards wrote:
> >        /var/log/myth/mythbackend.log {
> >                size 32M
> >                postrotate
> >                        kill -HUP `cat /var/run/mythbackend.pid`
> > 2>/dev/null endscript
> >        }
>
> Out of interest, won't this config kill mythbackend and therefore
> terminate any recordings that are being made or watched?
No, signal HUP means "reload and start a new config file" (a proces can do 
what ever it wants with a HUP signal, but most of the times it's used to 
rotate the logfiles).


Stef


More information about the mythtv-users mailing list