1/var/log/samba/log.smbd { 2 weekly 3 missingok 4 rotate 7 5 postrotate 6 invoke-rc.d --quiet samba reload > /dev/null 7 endscript 8 compress 9 notifempty 10} 11 12/var/log/samba/log.nmbd { 13 weekly 14 missingok 15 rotate 7 16 postrotate 17 [ -f /var/run/samba/nmbd.pid ] && kill -HUP `cat /var/run/samba/nmbd.pid` 18 endscript 19 compress 20 notifempty 21} 22