logrotate.d of mythlogserver

Top Page

Reply to this message
Author: Guillaume Membré
Date:  
To: dmo-discussion
Subject: 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