void-packages/srcpkgs/samba/files/samba.logrotate

11 lines
228 B
Text
Raw Normal View History

/var/log/samba/*.log /var/log/samba/log.* {
notifempty
missingok
sharedscripts
copytruncate
postrotate
/bin/systemctl try-restart smbd.service nmbd.service winbindd.service \
2>/dev/null || true
endscript
}