Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythtv.logrotate.d-r1
Date: Mon, 04 Jan 2010 05:40:48
Message-Id: E1NRfgL-0001xQ-Sr@stork.gentoo.org
1 cardoe 10/01/04 05:40:45
2
3 Added: mythtv.logrotate.d-r1
4 Log:
5 fix logrotate file for MythTV when the backend isn't running. bug #293464
6 (Portage version: 2.1.7.16/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 media-tv/mythtv/files/mythtv.logrotate.d-r1
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/mythtv/files/mythtv.logrotate.d-r1?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/mythtv/files/mythtv.logrotate.d-r1?rev=1.1&content-type=text/plain
13
14 Index: mythtv.logrotate.d-r1
15 ===================================================================
16 # Copyright 1999-2006 Gentoo Foundation
17 # Distributed under the terms of the GNU General Public License v2
18 # $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythtv.logrotate.d-r1,v 1.1 2010/01/04 05:40:45 cardoe Exp $
19
20 /var/log/mythtv/mythbackend.log /var/log/mythtv/mythfrontend.log {
21 rotate 5
22 weekly
23 create 660 mythtv video
24 notifempty
25 sharedscripts
26 missingok
27 postrotate
28 [ -f "/var/run/mythbackend.pid"] && /bin/kill -HUP `cat /var/run/mythbackend.pid`
29 endscript
30 }