diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
commit | 236cb75e4430569627585a5818d9ce9bc85640f8 (patch) | |
tree | f84b5c0335eb76eb9df1e6c2c0004d7d9667c6e4 /debian/winbind.logrotate | |
parent | Adding upstream version 2:4.17.12+dfsg. (diff) | |
download | samba-236cb75e4430569627585a5818d9ce9bc85640f8.tar.xz samba-236cb75e4430569627585a5818d9ce9bc85640f8.zip |
Adding debian version 2:4.17.12+dfsg-0+deb12u1.debian/2%4.17.12+dfsg-0+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/winbind.logrotate')
-rw-r--r-- | debian/winbind.logrotate | 17 |
1 files changed, 17 insertions, 0 deletions
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 +} |