summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-sarge/samba.logrotate
blob: 57f4228a7cedd608b1e233f886dd3b5c88aa5600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/var/log/samba/log.smbd {
	weekly
	missingok
	rotate 7
	postrotate
		invoke-rc.d --quiet samba reload > /dev/null
	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
}