aboutsummaryrefslogtreecommitdiff
path: root/contrib/operator-tools/tor.logrotate.in
blob: 6e75f80bf06c1e41b9becab2a1d79954782b8c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@LOCALSTATEDIR@/log/tor/*log {
	daily
	rotate 5
	compress
	delaycompress
	missingok
	notifempty
	# you may need to change the username/groupname below
	create 0640 _tor _tor
	sharedscripts
	postrotate
		/etc/init.d/tor reload > /dev/null
	endscript
}