MythTV wrote:
> #33: SIGHUP log rotation
> --------------------+-------------------------------------------------------
>        Id:  33      |      Status:  new                     
> Component:  mythtv  |    Modified:  Fri Jul  1 21:53:19 2005
>  Severity:  low     |   Milestone:  0.19                    
>  Priority:  minor   |     Version:  head                    
>     Owner:  ijr     |    Reporter:  Robert Tsai <rtsai1111> 
> --------------------+-------------------------------------------------------
>  This patch is taken from http://www.gossamer-
>  threads.com/lists/mythtv/dev/110113
> 
>  It adds a SIGHUP handler to mythbackend for rotating logfiles in response
>  to a SIGHUP, so that a logrotate.d "postrotate" script can do:
> 
>    kill `cat /var/run/mythbackend.pid`

Just to be clear, you probably want to kill -HUP, not just kill (-TERM). :)

Thanks for committing this, BTW; it was my only remaining uncommitted
patch for mythbackend.

Cheers,
Kyle
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to