mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
dcron: fix crond.logrotate, bumprev.
This commit is contained in:
parent
350042733f
commit
5b2e41599a
2 changed files with 14 additions and 0 deletions
13
srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch
Normal file
13
srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch
Normal 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
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.4
|
version=4.4
|
||||||
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
|
|
Loading…
Add table
Reference in a new issue