summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/samba/samba.logrotate
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-28 21:10:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-28 21:10:31 (GMT)
commite65efe930ec0f86eb207fabf8a5502d23af566a2 (patch)
treee86be0c30dc17e08ac25358dfafe47055e377291 /abs/core-testing/samba/samba.logrotate
parent9f392cc1b6e39b4cde757e18aa8259f2724e41fe (diff)
downloadlinhes_pkgbuild-e65efe930ec0f86eb207fabf8a5502d23af566a2.zip
linhes_pkgbuild-e65efe930ec0f86eb207fabf8a5502d23af566a2.tar.gz
linhes_pkgbuild-e65efe930ec0f86eb207fabf8a5502d23af566a2.tar.bz2
add samba & update smb-client
Diffstat (limited to 'abs/core-testing/samba/samba.logrotate')
-rw-r--r--abs/core-testing/samba/samba.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core-testing/samba/samba.logrotate b/abs/core-testing/samba/samba.logrotate
new file mode 100644
index 0000000..581f4c3
--- /dev/null
+++ b/abs/core-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
+}