On 9/12/07, Sebastian Bremicker <[EMAIL PROTECTED]> wrote: > here's my /etc/logrotate.d/debtorrent: > > ------------------------%<--------cut here-------->%-------------------- > > /var/log/debtorrent/apt-access.log /var/log/debtorrent/debtorrent-client.log > /var/log/debtorrent/debtorrent-tracker.log > /var/log/debtorrent/tracker-access.log { > daily > rotate 3 > missingok > create 775 root debtorrent > compress > sharedscripts > postrotate > /etc/init.d/debtorrent-client restart > /etc/init.d/debtorrent-tracker restart > endscript > } > > ------------------------%<--------cut here-------->%-------------------- > > Disadvantage is the daily restart of debtorrent, which means it has to start > its search for peers again, but there is no reload target.
Thanks Sebastian. I'm currently working on a better solution that doesn't require the daily restarts, but until then this one should work for others. Cameron -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]