[mythtv-commits] Ticket #3187: logrotate does not send SIGHUP to mythbackend (fedora core)

MythTV mythtv at cvs.mythtv.org
Sun Sep 27 06:38:00 UTC 2009


#3187: logrotate does not send SIGHUP to mythbackend (fedora core)
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr    
     Type:  defect     |       Status:  closed 
 Priority:  minor      |    Milestone:  unknown
Component:  mythtv     |      Version:  0.19   
 Severity:  medium     |   Resolution:  invalid
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by anonymous):

 Replying to [ticket:3187 anonymous]:
 > logrotate does not send SIGHUP to mythbackend (on my fedora core 6 box)
 >
 > /etc/logrotate.d/mythbackend is:
 >
 > /var/log/mythtv/mythbackend.log {
 >     notifempty
 >     missingok
 >     compress
 >     compresscmd /usr/bin/bzip2
 >     uncompresscmd /usr/bin/bunzip2
 >     compressext .bz2
 >     weekly
 >     rotate 4
 >     size 10M
 > }
 >
 > and could be:
 >
 > # cat mythbackend
 > /var/log/mythtv/mythbackend.log {
 >     notifempty
 >     missingok
 >     compress
 >     compresscmd /usr/bin/bzip2
 >     uncompresscmd /usr/bin/bunzip2
 >     compressext .bz2
 >     weekly
 >     rotate 4
 >     size 10M
 >  postrotate
 >         /bin/kill -HUP `cat /var/run/mythbackend.pid 2> /dev/null` 2>
 > /dev/null || true
 >  endscript
 > }

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3187#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list