[mythtv-users] Config backend for multiple frontends question
R. G. Newbury
newbury at mandamus.org
Sat Jul 22 17:46:28 UTC 2017
On 07/21/2017 09:24 PM, Stephen Worthington wrote:
> On Fri, 21 Jul 2017 17:27:09 -0400, you wrote:
> You also need to ensure that mythbackend does not start before the
> external network interfaces are up. If it does, it fails to bind the
> external IP addresses and instead falls back to using localhost, and
> the frontends can not connect to it. So the same fix is needed as
> when you are using network tuners.
On Fedora with systemd, I used to have a 'sleep 10' as the first line in
a pre-start.sh script fired up before the call to mythbackend. The
pre-start.sh script also makes sure that the correct folders and links
are ready too.
Changing the [Unit] section of the mythbackend.service file to add:
After=network.target mariadb.service NetworkManager-wait-online.service
fixes that problem... AIUI these lines force a wait until things are
stable, before actually starting the service.
Geoff
More information about the mythtv-users
mailing list