logrotate.d of mythlogserver

トップ ページ

このメッセージに返信
著者: Guillaume Membré
日付:  
To: dmo-discussion
題目: 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