logrotate.d of mythlogserver

Page principale

Répondre à ce message
Auteur: Guillaume Membré
Date:  
À: dmo-discussion
Sujet: logrotate.d of mythlogserver
Hello,

Thanks a lot for your work, I greatly appreciate the packages of mythtv.

What do you think of adding the following instruction to
/etc/logrotate.d/mythlogserver in the package mythlogserver
sharedscripts : It would run only one "killall ..."
thus :
/var/log/mythtv/*.log {
    daily
    rotate 7
    notifempty
    delaycompress
    compress
    sharedscripts
    postrotate
        killall -HUP mythlogserver
    endscript
    su mythtv mythtv
}


Best regards

Guillaume