Re: mythtv-backend: init restart unreliable [patch]

Page principale

Répondre à ce message
Auteur: Christian Marillat
Date:  
À: dmo-discussion
Sujet: Re: mythtv-backend: init restart unreliable [patch]
Stephan Sürken <absurd@???> writes:

> Hi Christian,


Hi Stephan,

> I noticed '/etc/init.d/mythtv-backend restart' is unreliable.
>
> This is due to the 'sleep 3' solution between stop/start via
> start-stop-daemon; this is not sufficient for my setup, so in most
> cases, myth is just stopped on restart as the second start-stop call
> still finds a valid pid.
>
> start-stop's "-retry" should imho fix this quite elegantly, see
> attachment.


Seems to be a good idea. Apllied.

Christian