aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/mythtv.logrotate.d
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-08-14 08:52:50 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-14 19:04:50 -0500
commit5eae1ee8d02db1aa61ceb72017f6f117b20792d3 (patch)
treef24f8c290135dfdef529b7b3544f22544d6249e5 /multimedia/mythtv/files/mythtv.logrotate.d
parent286ba92326f78d599f6bae45135fbaef7a041768 (diff)
multimedia/mythtv: Updated for version 0.23.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'multimedia/mythtv/files/mythtv.logrotate.d')
-rw-r--r--multimedia/mythtv/files/mythtv.logrotate.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/mythtv.logrotate.d b/multimedia/mythtv/files/mythtv.logrotate.d
new file mode 100644
index 0000000000000..a3024f4208d80
--- /dev/null
+++ b/multimedia/mythtv/files/mythtv.logrotate.d
@@ -0,0 +1,10 @@
+/var/log/mythbackend.log /var/log/mythfrontend.log {
+rotate 4
+weekly
+notifempty
+sharedscripts
+missingok
+postrotate
+[ -f "/var/run/mythbackend.pid" ] && /bin/kill -HUP `cat /var/run/mythbackend.pid`
+endscript
+}