summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2010-01-04 05:40:46 +0000
committerDoug Goldstein <cardoe@gentoo.org>2010-01-04 05:40:46 +0000
commitf993c1afb083605fa6a14675a57a675a98a9571e (patch)
tree38fe6240c72e88c892b5a22ed9758e9dac36d360 /media-tv/mythtv/files
parentversion bump. fixes bug #269222, bug #283798, bug #299063 (diff)
downloadgentoo-2-f993c1afb083605fa6a14675a57a675a98a9571e.tar.gz
gentoo-2-f993c1afb083605fa6a14675a57a675a98a9571e.tar.bz2
gentoo-2-f993c1afb083605fa6a14675a57a675a98a9571e.zip
fix logrotate file for MythTV when the backend isn't running. bug #293464
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythtv.logrotate.d-r115
1 files changed, 15 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv.logrotate.d-r1 b/media-tv/mythtv/files/mythtv.logrotate.d-r1
new file mode 100644
index 000000000000..896587c8c47f
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv.logrotate.d-r1
@@ -0,0 +1,15 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythtv.logrotate.d-r1,v 1.1 2010/01/04 05:40:45 cardoe Exp $
+
+/var/log/mythtv/mythbackend.log /var/log/mythtv/mythfrontend.log {
+rotate 5
+weekly
+create 660 mythtv video
+notifempty
+sharedscripts
+missingok
+postrotate
+[ -f "/var/run/mythbackend.pid"] && /bin/kill -HUP `cat /var/run/mythbackend.pid`
+endscript
+}