Re: error running shared postrotate script for '/var/log/myt…

Page principale

Répondre à ce message
Auteur: Martin Gallant
Date:  
À: dmo-discussion
Sujet: Re: error running shared postrotate script for '/var/log/mythtv/*.log '
On Tue, Aug 27, 2013 at 2:50 PM, Christian Marillat <marillat@???> wrote:
> Apparently we have this error if mythlogserver isn't running.


This makes sense.
This machine is a laptop, and mythlogserver will not be started after
reboot unless I deliberately run the front end.

> Could you replace in /etc/logrotate.d/mythlogserver
>
> ,----
> | pkill -HUP mythlogserver
> `----
>
> by
>
> ,----
> | if [ -z pidof mythlogserver ]; then
> |    kill -HUP mythlogserver
> | fi


Done. I just went through my morning cycle without receiving an email
with this error.

Thank you!

--
Marty