Re: mythtranscode

Page principale

Répondre à ce message
Auteur: Christian Marillat
Date:  
À: dmo-discussion
Sujet: Re: mythtranscode
Stephan Seitz <stse+debian@???> writes:

> On Thu, Dec 20, 2012 at 09:51:38PM +0100, Christian Marillat wrote:
>>I'll start to package 0.26.0 fixes after the end of this world, normally
>>after tomorrow :)
>
> Thanks for your work, but I have a question about the logrotate
> script. It belongs to the package mythlogserver and contains the
> lines:
>
>         postrotate
>                killall -HUP mythlogserver
>         endscript
>         su mythtv mythtv

>
> Why?


Copy/paste from http://www.mythtv.org/wiki/Logrotate_-_all_applications

> The backend is logging via syslog. Do we need to send a HUP to
> the mythlogserver? If I understand the su line the signal is sent as
> mythtv user. This doesn’t work (at least in my case) for the
> frontend. It is running as another user, so I get error messages from
> cron. Besides that my frontend is using syslog as well. I have
> commented the three postrotate lines on the frontend and don’t see any
> problems.


If I understand correctly, mythlogserver is here to send messages to
syslog and syslog is here to write (or not) these messages to log files.

Christian