[mythtv-users] Bootup race condition - frontend starts before eth0 is up
Lawrence Rust
lvr at softsystem.co.uk
Thu Aug 11 07:16:45 UTC 2011
On Wed, 2011-08-10 at 23:38 +0100, Ben Lancaster wrote:
> Since switching my WM to Ratpoison, sometimes my frontend can't connect to the master backend in time as the network interface hasn't yet come up, which obviously causes the slave frontend to go a bit mental (well, show the first start config stuff).
>
> I'm using Mythbuntu, and have had a look at configuring upstart to wait until the network interface is up and running before it starts GDM, but haven't been able to figure out the syntax and correct event as yet. Any pointers?
I use this upstart script (/etc/init/mythfrontend.conf):
description "MythTV Frontend"
start on (local-filesystems and net-device-up IFACE!=lo and started mythtv-backend)
stop on runlevel [!2345]
respawn
respawn limit 2 60
....
--
Lawrence
More information about the mythtv-users
mailing list