summaryrefslogtreecommitdiff
path: root/packaging/RedHat/samba.log
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RedHat/samba.log')
-rw-r--r--packaging/RedHat/samba.log14
1 files changed, 6 insertions, 8 deletions
diff --git a/packaging/RedHat/samba.log b/packaging/RedHat/samba.log
index 4b244099c4..a3c000ea78 100644
--- a/packaging/RedHat/samba.log
+++ b/packaging/RedHat/samba.log
@@ -1,11 +1,9 @@
-/var/log/samba/log.nmbd {
+/var/log/samba/*.log /var/log/samba/log.smbd /var/log/samba/log.nmbd {
+ notifempty
+ missingok
+ sharedscripts
+ copytruncate
postrotate
- /usr/bin/killall -HUP nmbd
- endscript
-}
-
-/var/log/samba/log.smbd {
- postrotate
- /usr/bin/killall -HUP smbd
+ /bin/kill -HUP `cat /var/run/smbd.pid /var/run/nmbd.pid /var/run/winbindd.pid 2> /dev/null` 2> /dev/null || true
endscript
}