[mythtv-commits] Ticket #33: SIGHUP log rotation

MythTV mythtv at cvs.mythtv.org
Fri Jul 1 21:53:19 UTC 2005


#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`

 without worrying about whether or not restarting mythbackend will
 interrupt any recordings, etc.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/33>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list