summaryrefslogtreecommitdiffstats
path: root/tor.logrotate
blob: 0fd02b3e27eab201945a2b4a4777a9b2d57d9020 (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 0640 toranon toranon
    sharedscripts
    postrotate
        /bin/systemctl reload tor-master.service >/dev/null 2>/dev/null || :
    endscript
}