-/var/log/samba/log.nmb {
- postrotate
- /usr/bin/killall -HUP nmbd
- endrotate
-}
-/var/log/samba/log.smb {
- postrotate
- /usr/bin/killall -HUP smbd
- endrotate
+/var/log/samba/log.* {
+ sharedscripts
+ notifempty
+ missingok
+ olddir /var/log/archive/samba
+ postrotate
+ /bin/killall -HUP samba
+ endscript
}