/var/log/tor/*.log {
    daily
    rotate 5
    compress
    delaycompress
    missingok
    notifempty
    create 0640 nobody nobody
    sharedscripts
    postrotate
        /etc/init.d/tor reload >/dev/null 2>&1 || :
    endscript
}
