/logrotate.d/samba
http://github.com/brinkman83/bashrc · #! · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · 224eeafd3c391cb5153af73624c62651 MD5 · raw file
- /var/log/samba/log.smbd {
- weekly
- missingok
- rotate 7
- postrotate
- [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
- endscript
- compress
- notifempty
- }
- /var/log/samba/log.nmbd {
- weekly
- missingok
- rotate 7
- postrotate
- [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
- endscript
- compress
- notifempty
- }