Package: torrus-common
Version: 1.0.6-2

Hello,

I noticed that /var/log/torrus/dbenv_errlog_* pile up. Normally they are
empty, but nevertheless take up inodes. For the principle of avoiding
unlimited automatic filling of filesystems, a matching statement in
/etc/logrotate.d/torrus-common like below would help.

Bye,

Joerg

/var/log/torrus/dbenv_errlog* {
        weekly
        missingok
        rotate 0
        maxage 30
        ifempty
        sharedscripts
        postrotate
                for i in $(find /var/run/torrus -name 'collector.*.pid'
-or \
                                                -name 'monitor.*.pid')
                do
                  kill -s HUP $(cat ${i})
                done
        endscript
}

Attachment: signature.asc
Description: Digital signature

Reply via email to