PageRenderTime 74ms CodeModel.GetById 71ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/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
12/var/log/samba/log.nmbd {
13	weekly
14	missingok
15	rotate 7
16	postrotate
17		[ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
18	endscript
19	compress
20	notifempty
21}