[Pkg-samba-maint] [samba] 03/07: Add missing logrotate for /var/log/samba/log.samba (Closes: #803924)
Mathieu Parent
sathieu at moszumanska.debian.org
Wed Jul 19 20:46:50 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 8167381f50d56bff76f33c622406a1a1ff128932
Author: Mathieu Parent <math.parent at gmail.com>
Date: Wed Jul 19 21:40:38 2017 +0200
Add missing logrotate for /var/log/samba/log.samba (Closes: #803924)
---
debian/samba.logrotate | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/samba.logrotate b/debian/samba.logrotate
index d34f785..556c4a2 100644
--- a/debian/samba.logrotate
+++ b/debian/samba.logrotate
@@ -21,3 +21,15 @@
delaycompress
notifempty
}
+
+/var/log/samba/log.samba {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ [ ! -f /var/run/samba/samba.pid ] || kill -HUP `cat /var/run/samba/samba.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