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

MythTV mythtv at cvs.mythtv.org
Sat Mar 10 18:55:36 UTC 2007


#3187: logrotate does not send SIGHUP to mythbackend (fedora core)
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  head   
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 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>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list