diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-05-01 00:45:15 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-05-01 00:45:15 (GMT) |
commit | 6af5a244c0420e1288f14ad730964feebdd25d34 (patch) | |
tree | ce6e01c26a18b071973bbf1118cd963fcc4c3c91 /abs/core-testing/mythtv/trunk | |
parent | 757c7a6f82a45da2a43bbc2dd5843fce81e1469e (diff) | |
download | linhes_pkgbuild-6af5a244c0420e1288f14ad730964feebdd25d34.zip linhes_pkgbuild-6af5a244c0420e1288f14ad730964feebdd25d34.tar.gz linhes_pkgbuild-6af5a244c0420e1288f14ad730964feebdd25d34.tar.bz2 |
Added log rotation files for back/frontend logs.
Diffstat (limited to 'abs/core-testing/mythtv/trunk')
-rwxr-xr-x | abs/core-testing/mythtv/trunk/mythtv/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr | 9 | ||||
-rw-r--r-- | abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr | 9 |
3 files changed, 22 insertions, 2 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD index 21fd554..ec1e9cb 100755 --- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mythtv-svn pkgver=20414 -pkgrel=1 +pkgrel=2 pkgdesc="A personal video recorder for Linux" url="http://www.mythtv.org" license="GPL" @@ -17,7 +17,7 @@ install='mythtv.install' patchs=('smolt_jump.patch' 'myththemedmenu.h.patch' 'myththemedmenu.cpp.patch' 'DeviceReadBuffer-polltimeout.2.patch') #patchs=('svn_main_menu_popup.patch' 'smolt_jump.patch' 'DeviceReadBuffer-polltimeout.2.patch') -source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` ) +source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr') arch=('i686' 'x86_64') #md5sums=() @@ -77,6 +77,8 @@ build() { # make log dir mkdir -p $startdir/pkg/var/log/mythtv chown 1000.1000 $startdir/pkg/var/log/mythtv + mkdir -p $startdir/pkg/etc/logrotate.d + cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d } diff --git a/abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr b/abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr b/abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} |