summaryrefslogtreecommitdiff
path: root/network/tor/logrotate.tor
blob: 4311d5f2dfa85a2765fdf56c916786cf0432006c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/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
}