/var/log/samba/*.log { notifempty missingok sharedscripts copytruncate postrotate /bin/kill -HUP `cat /var/run/samba/smbd.pid /var/run/samba/nmbd.pid 2> /dev/null` 2> /dev/null || true endscript }