From c32c36d96f3a7863ab8514456e8a0eb9e4839264 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 14 May 2004 12:42:42 +0000 Subject: r730: move the current debian dir to debian-unstable (This used to be commit 65022f1dde7012a8c8c1872ad87184531973b5c5) --- packaging/Debian/debian-unstable/samba.logrotate | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packaging/Debian/debian-unstable/samba.logrotate (limited to 'packaging/Debian/debian-unstable/samba.logrotate') 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 +} -- cgit