summaryrefslogtreecommitdiffstats
path: root/abs/core/certmaster
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-11 16:10:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-11 16:10:05 (GMT)
commit56894c6c513d4b60091b5ac65a1afc8f4dff85d5 (patch)
tree52030431de9edb0839a993f0a96a1011bbf27366 /abs/core/certmaster
parent9c04fff12f59373af8582714b89a3fd3d18b4081 (diff)
downloadlinhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.zip
linhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.tar.gz
linhes_pkgbuild-56894c6c513d4b60091b5ac65a1afc8f4dff85d5.tar.bz2
certmaster, lighttpd,linhes-scripts,linhes-system,mythtv,xymon: fix logrotation
Diffstat (limited to 'abs/core/certmaster')
-rw-r--r--abs/core/certmaster/PKGBUILD4
-rw-r--r--abs/core/certmaster/logrotate-certmaster.conf3
2 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/certmaster/PKGBUILD b/abs/core/certmaster/PKGBUILD
index ccb85fa..0c2bb91 100644
--- a/abs/core/certmaster/PKGBUILD
+++ b/abs/core/certmaster/PKGBUILD
@@ -22,7 +22,7 @@ build() {
cd $startdir/src
install -m755 -D minion.conf $startdir/pkg/etc/certmaster/minion.conf
install -m755 -D certmaster.conf $startdir/pkg/etc/certmaster/certmaster.conf
- install -m755 -D logrotate-certmaster.conf $startdir/pkg/etc/logrotate.d/certmaster.conf
+ install -m644 -D logrotate-certmaster.conf $startdir/pkg/etc/logrotate.d/certmaster
mkdir -p $startdir/pkg/var/log/certmaster
cd $startdir/pkg
find ./usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \;
@@ -31,4 +31,4 @@ build() {
md5sums=('f5acc9ff1efa34971296e26d794c5b35'
'953ff601e5381b457383e7a3c4928192'
'be7bd532ae103ab3c0048980314b4fd9'
- '6bc28ccd331a6c4c05e0a9c9755a848f')
+ 'fa8fabe2381c7b891e014bf9e23e653b')
diff --git a/abs/core/certmaster/logrotate-certmaster.conf b/abs/core/certmaster/logrotate-certmaster.conf
index 39c3537..e4637a2 100644
--- a/abs/core/certmaster/logrotate-certmaster.conf
+++ b/abs/core/certmaster/logrotate-certmaster.conf
@@ -2,7 +2,8 @@
missingok
notifempty
rotate 4
- weekly
+ size 512k
+ compress
postrotate
if [ -f /service/certmaster ]; then
sv restart certmaster