summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/samba.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/samba.logrotate')
-rw-r--r--packaging/Debian/debian/samba.logrotate21
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/Debian/debian/samba.logrotate b/packaging/Debian/debian/samba.logrotate
new file mode 100644
index 0000000000..d264ce3d71
--- /dev/null
+++ b/packaging/Debian/debian/samba.logrotate
@@ -0,0 +1,21 @@
+/var/log/samba/log.smbd {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ killall -q -HUP smbd || true
+ endscript
+ compress
+ notifempty
+}
+
+/var/log/samba/log.nmbd {
+ weekly
+ missingok
+ rotate 7
+ postrotate
+ killall -q -HUP nmbd || true
+ endscript
+ compress
+ notifempty
+}