dcron: fix crond.logrotate, bumprev.

This commit is contained in:
Juan RP 2010-11-26 16:33:10 +01:00
parent 350042733f
commit 5b2e41599a
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- crond-4.4/extra/crond.logrotate 2010-11-26 16:27:29.961409375 +0100
+++ crond-4.4.new/extra/crond.logrotate 2010-11-26 16:28:29.195004589 +0100
@@ -1,8 +1,8 @@
-/var/log/crond.log {
+/var/log/cron {
sharedscripts
copytruncate
missingok
postrotate
- kill -HUP `cat /var/run/cron.pid`
+ kill -HUP $(pidof -o %PPID crond)
endscript
}

View file

@ -1,6 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.4
revision=1
patch_args="-Np1"
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
build_style=custom-install