From 41970a7c2c16088568c16a22f0e66f996080cf9a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 18:39:00 +0000 Subject: main/samba: add logrotate script fixes #81 --- main/samba/samba.logrotate | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 main/samba/samba.logrotate (limited to 'main/samba/samba.logrotate') diff --git a/main/samba/samba.logrotate b/main/samba/samba.logrotate new file mode 100644 index 0000000000..bf957bd747 --- /dev/null +++ b/main/samba/samba.logrotate @@ -0,0 +1,9 @@ +/var/log/samba/log.* /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 +} -- cgit v1.2.3