aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/mythtv.logrotate.d
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2013-12-01 08:21:08 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-12-02 00:58:02 -0600
commit749460d8eac3f2cae4e140afc9a74b1da29ea9d1 (patch)
tree3d7d4280fb9e59460abefc0170ec1dc0fe296d1e /multimedia/mythtv/files/mythtv.logrotate.d
parent0c01842e9a9b21835ba447cb9a4254ddb4e68203 (diff)
multimedia/mythtv: Added (mythical home media convergence PVR/DVR).
Signed-off-by: Matteo Bernardini <ponce@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 000000000000..a3024f4208d8
--- /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
+}