From 236cb75e4430569627585a5818d9ce9bc85640f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:31 +0200 Subject: Adding debian version 2:4.17.12+dfsg-0+deb12u1. Signed-off-by: Daniel Baumann --- debian/winbind.logrotate | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/winbind.logrotate (limited to 'debian/winbind.logrotate') diff --git a/debian/winbind.logrotate b/debian/winbind.logrotate new file mode 100644 index 0000000..f79f431 --- /dev/null +++ b/debian/winbind.logrotate @@ -0,0 +1,17 @@ +/var/log/samba/log.winbindd { + weekly + missingok + rotate 7 + postrotate + if [ -f /var/run/samba/winbindd.pid ]; then + if [ -x /usr/bin/smbcontrol ]; then + /usr/bin/smbcontrol winbindd reload-config + elif [ -f /run/samba/winbindd.pid ]; then + kill -HUP `cat /run/samba/winbindd.pid` + fi + fi + endscript + compress + delaycompress + notifempty +} -- cgit v1.2.3