/logrotate.d/samba

http://github.com/brinkman83/bashrc · #! · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · 224eeafd3c391cb5153af73624c62651 MD5 · raw file

  1. /var/log/samba/log.smbd {
  2. weekly
  3. missingok
  4. rotate 7
  5. postrotate
  6. [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
  7. endscript
  8. compress
  9. notifempty
  10. }
  11. /var/log/samba/log.nmbd {
  12. weekly
  13. missingok
  14. rotate 7
  15. postrotate
  16. [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
  17. endscript
  18. compress
  19. notifempty
  20. }