[mythtv] [Feature request] Startup delay

Ben de Luca bend at bedel.mine.nu
Fri Nov 19 07:06:34 UTC 2004


That would be a complete waste of time ? learn to use the startup 
scripts on your system instead?


On 19/11/2004, at 5:46 PM, Neil Whelchel wrote:

> Hello,
> I am using mythbackend on a dedicated machine and I am starting it 
> along
> with the database from iniitab. While this does manage to work, there 
> is a
> small problem; The database takes alot longer to start than mythbackend
> does. So the result is mythbackend respawning several times before the
> database comes up. I have corrected this by calling mythbackend from a
> shell script which looks something like:
>
> #!/bin/bash
> sleep 5
> exec mythbackend
>
> A much cleaner answer would be to add a command line switch to 
> mythbackend
> to make it sleep for a specified time before attempting to connect to 
> the
> database... Or for all that matter sleep before doing anything...
>
> Any thoughts?
>
> -Neil Whelchel-
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list