summaryrefslogtreecommitdiff
blob: 220776a1d0871a5ef633b251ff4bfcc09a9c210b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

/var/log/mythtv/*.log {
    weekly
    rotate 8
    nocompress
    nocreate
    notifempty
    sharedscripts
    missingok
    olddir /var/log/mythtv/old
    postrotate
        killall -HUP mythfrontend
        killall -HUP mythbackend
        killall -HUP mythlcdserver
        find /var/log/mythtv/old -type f -mtime +30 -delete
    endscript
}