[packages/rsync] use delaycompress option to avoid file changed during compress errors
glen
glen at pld-linux.org
Mon Oct 7 12:07:19 CEST 2013
commit 30529548bdc253f8c1ffecd1a5f0d9a91c423cac
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Oct 7 13:06:24 2013 +0300
use delaycompress option to avoid file changed during compress errors
gzip: stdin: file size changed while zipping
i can't find from rsync manual how to signal daemon to reopen logs, so
use this.
rsyncd.logrotate | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/rsyncd.logrotate b/rsyncd.logrotate
index 7604115..de382b1 100644
--- a/rsyncd.logrotate
+++ b/rsyncd.logrotate
@@ -1,3 +1,4 @@
/var/log/rsyncd.log {
create 640 root logs
+ delaycompress
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rsync.git/commitdiff/30529548bdc253f8c1ffecd1a5f0d9a91c423cac
More information about the pld-cvs-commit
mailing list