[Pkg-samba-maint] [samba] 13/17: logrotate: Use delaycompress on all logs (Closes: #702201)

Mathieu Parent sathieu at moszumanska.debian.org
Mon Mar 6 11:50:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch master
in repository samba.

commit a091a79c57adb9de845f6b76956d48ffd15b83e1
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Sun Mar 5 22:39:39 2017 +0100

    logrotate: Use delaycompress on all logs (Closes: #702201)
---
 debian/ctdb.logrotate    | 1 +
 debian/samba.logrotate   | 2 ++
 debian/winbind.logrotate | 1 +
 3 files changed, 4 insertions(+)

diff --git a/debian/ctdb.logrotate b/debian/ctdb.logrotate
index 47cfc2d..c1bf28a 100644
--- a/debian/ctdb.logrotate
+++ b/debian/ctdb.logrotate
@@ -4,5 +4,6 @@
 	rotate 7
 	copytruncate
 	compress
+	delaycompress
 	notifempty
 }
diff --git a/debian/samba.logrotate b/debian/samba.logrotate
index 7683d03..d34f785 100644
--- a/debian/samba.logrotate
+++ b/debian/samba.logrotate
@@ -6,6 +6,7 @@
 		[ ! -f /var/run/samba/smbd.pid ] || /etc/init.d/smbd reload > /dev/null
 	endscript
 	compress
+	delaycompress
 	notifempty
 }
 
@@ -17,5 +18,6 @@
 		[ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
 	endscript
 	compress
+	delaycompress
 	notifempty
 }
diff --git a/debian/winbind.logrotate b/debian/winbind.logrotate
index aafc1e7..2e05ba7 100644
--- a/debian/winbind.logrotate
+++ b/debian/winbind.logrotate
@@ -6,5 +6,6 @@
 	[ ! -f /var/run/samba/winbindd.pid ] || kill -HUP `cat /var/run/samba/winbindd.pid`
 	endscript
 	compress
+	delaycompress
 	notifempty
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list