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