[mythtv-commits] Ticket #12977: Improved Frontend Startup in case of connection problems
MythTV
noreply at mythtv.org
Fri Jan 20 16:24:57 UTC 2017
#12977: Improved Frontend Startup in case of connection problems
------------------------------+-----------------------------
Reporter: pbennett | Owner: pbennett
Type: Developer Task | Status: accepted
Priority: minor | Milestone: 29.0
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+-----------------------------
Comment (by pbennett):
The ping in the database connect startup has been causing some people
problems lately, and I think I can improve startup by checking if the
database port is open instead of using ping. That way it waits for not
only the database machine to start up but for the database port to be
ready. Also people could use the "wake up" code to start the database
instead of waking the machine (if somebody for some reason wanted the
database shutdown when MythTV was not in use).
I have been doing this (using nc) in a bash script in front of Frontend
startup for a couple of years with no problems.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12977#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list