void-packages/srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch
2010-11-26 16:33:10 +01:00

13 lines
362 B
Diff

--- 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
}