[mythtv-commits] Ticket #10890: Mythfrontend tries every 30s to start mythlogserver
MythTV
noreply at mythtv.org
Wed Jan 23 03:22:42 UTC 2013
#10890: Mythfrontend tries every 30s to start mythlogserver
----------------------------------+-----------------------------
Reporter: jyavenard | Owner: beirdo
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by Craig Treleaven <ctreleaven@…>):
I tried removing the '--daemon' flag:
https://github.com/MythTV/mythtv/blob/fixes/0.26/mythtv/libs/libmythbase/logging.cpp#L493
I then used mythtv-setup to test. Starting mythtv-setup does cause
mythlogserver to launch. HOWEVER, when I tried to exit mythtv-setup, it
appeared to hang. I then used Console.app to force mythlogserver to quit
and then mythtv-setup immediately exited. I believe mythtv-setup was
waiting for mythlogserver to 'finish' and exit!!
Obviously, this isn't very friendly behaviour for folks that want to run a
remote frontend and quit when finished.
It appears to me that using OS X launchd services would be the right way
to launch and stop mythlogserver. However, there would have to be a bunch
of conditional code to make that work. Maybe somebody has a better
strategy.
As I see it, the OS X port is dead in the water because of this.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10890#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list