summaryrefslogtreecommitdiff
path: root/network/tor/logrotate.tor
blob: 7b1f8d6d8bd42edc1449ed05aef0e5de240bc8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/tor/*log {
  daily
  rotate 5
  compress
  delaycompress
  missingok
  notifempty
  create 0644 tor tor
  sharedscripts
  postrotate
    /etc/rc.d/rc.tor reload > /dev/null
  endscript
}