summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-unstable/samba.logrotate
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-05-14 12:42:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:35 -0500
commitc32c36d96f3a7863ab8514456e8a0eb9e4839264 (patch)
treedfc31bfe53dea0b3460f8c5f823d8d9ed65c13ec /packaging/Debian/debian-unstable/samba.logrotate
parent400bed7a68ccdeeb8c50326e817788e01b155907 (diff)
downloadsamba-c32c36d96f3a7863ab8514456e8a0eb9e4839264.tar.gz
samba-c32c36d96f3a7863ab8514456e8a0eb9e4839264.tar.bz2
samba-c32c36d96f3a7863ab8514456e8a0eb9e4839264.zip
r730: move the current debian dir to debian-unstable
(This used to be commit 65022f1dde7012a8c8c1872ad87184531973b5c5)
Diffstat (limited to 'packaging/Debian/debian-unstable/samba.logrotate')
-rw-r--r--packaging/Debian/debian-unstable/samba.logrotate21
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/Debian/debian-unstable/samba.logrotate b/packaging/Debian/debian-unstable/samba.logrotate
new file mode 100644
index 0000000000..f90437bf2a
--- /dev/null
+++ b/packaging/Debian/debian-unstable/samba.logrotate
@@ -0,0 +1,21 @@
+/var/log/samba/log.smbd {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ invoke-rc.d --quiet samba reload > /dev/null
+ endscript
+ compress
+ notifempty
+}
+
+/var/log/samba/log.nmbd {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ [ -f /var/run/samba/nmbd.pid ] && kill -HUP `cat /var/run/samba/nmbd.pid`
+ endscript
+ compress
+ notifempty
+}