summarylogtreecommitdiffstats
path: root/tor.logrotate
blob: 5baa014b66dbfbc9b82215d00ceec6650716782b (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 tor tor
    sharedscripts
    postrotate
        /bin/systemctl reload tor.service >/dev/null 2>/dev/null || :
    endscript
}