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

トップ ページ

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