summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/winbind.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/winbind.logrotate')
-rw-r--r--packaging/Debian/debian/winbind.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/Debian/debian/winbind.logrotate b/packaging/Debian/debian/winbind.logrotate
new file mode 100644
index 0000000000..e36cd1281c
--- /dev/null
+++ b/packaging/Debian/debian/winbind.logrotate
@@ -0,0 +1,10 @@
+/var/log/samba/log.winbindd {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ [ -f /var/run/samba/winbindd.pid ] && kill -HUP `cat /var/run/samba/winbindd.pid`
+ endscript
+ compress
+ notifempty
+}