/var/log/samba/log.smbd { weekly missingok rotate 7 postrotate /etc/init.d/smbd reload > /dev/null endscript compress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate reload nmbd 2>/dev/null endscript compress notifempty }