[arch-commits] Commit in lighttpd/trunk (PKGBUILD lighttpd.logrotate.d)
Pierre Schmitz
pierre at archlinux.org
Sun Jan 15 16:09:55 UTC 2012
Date: Sunday, January 15, 2012 @ 11:09:55
Author: pierre
Revision: 146658
Copy and truncate the log instead of moving
Hopefully that fixes some random hangs on logrotate
Modified:
lighttpd/trunk/PKGBUILD
lighttpd/trunk/lighttpd.logrotate.d
----------------------+
PKGBUILD | 2 +-
lighttpd.logrotate.d | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-15 16:02:16 UTC (rev 146657)
+++ PKGBUILD 2012-01-15 16:09:55 UTC (rev 146658)
@@ -22,7 +22,7 @@
sha256sums=('c237692366935b19ef8a6a600b2f3c9b259a9c3107271594c081a45902bd9c9b'
'941ab747aeb97ca111fb670d21eefecdf745debc5e139bc5bd6881ee66b2742a'
'ceff3a88e876f6104c094379d507b89bc504777d0f98a0930406a70624fcf024'
- '6c5892830e77731d27e3ebb64a0d87ab9139c68eb703aec6741c591814cef26f'
+ 'b732b5b68d9c7323eb512629cb1f28e1673b5b5043ad9ff4fb55edcff939764c'
'ee56422fe48f2683ccb5ca2e3dc6bad79ea8e1cbd043b21d2ea73b87018e35aa')
build() {
Modified: lighttpd.logrotate.d
===================================================================
--- lighttpd.logrotate.d 2012-01-15 16:02:16 UTC (rev 146657)
+++ lighttpd.logrotate.d 2012-01-15 16:09:55 UTC (rev 146658)
@@ -1,5 +1,6 @@
/var/log/lighttpd/*log {
missingok
+ copytruncate
postrotate
/etc/rc.d/lighttpd reload >/dev/null || true
endscript
More information about the arch-commits
mailing list