summaryrefslogtreecommitdiff
path: root/testing/samba/samba.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
commit5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch)
tree9efe4d061ff3f921e97518a8bc84d504bc88e6fc /testing/samba/samba.logrotate
parent4a6f4c864badccdbf9756bc45218273796fa6d72 (diff)
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'testing/samba/samba.logrotate')
-rw-r--r--testing/samba/samba.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/samba/samba.logrotate b/testing/samba/samba.logrotate
new file mode 100644
index 000000000..581f4c33b
--- /dev/null
+++ b/testing/samba/samba.logrotate
@@ -0,0 +1,9 @@
+/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
+ notifempty
+ missingok
+ sharedscripts
+ copytruncate
+ postrotate
+ /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}