<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Mar 22, 2015, at 7:33 AM, Craig Treleaven <<a href="mailto:ctreleaven@cogeco.ca" class="">ctreleaven@cogeco.ca</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Um, launchd won't start a backend unless you tell it to!  Both the Myth_Stop_Start helper and 'port load mythtv-core.27' are shortcuts to the 'sudo launchctl load -w /Library/LaunchDaemons/org.mythtv.mythbackend.plist'.  The plist, by itself, doesn't do anything.  The user determines if launchd is to run the process or not.</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class=""><div class="">Well, looking at <a href="http://macports.mirror.ac.za/release/ports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist" class="">http://macports.mirror.ac.za/release/ports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist</a> I see:</div><div class=""><br class=""></div><div class=""><div class="">    <key>RunAtLoad</key></div><div class="">    <true/></div></div><div class=""><br class=""></div><div class="">and</div><div class=""><br class=""></div><div class=""><div class="">    <key>KeepAlive</key></div><div class="">    <true/></div></div><div class=""><br class=""></div><div class="">so if the file is in /Library/LaunchDaemons it's definitely going to do something at load and also on each boot. It did when I installed it around the time you first announced the port. RunAtLoad false would work for me but probably not everyone else so no reason to change. I can edit the config to not run at load but macports will reset that on each update. I have a similar problem with nginx where I want the launchd to use my parameters but macports would keep overwriting my changes.</div><div class=""><br class=""></div><div class="">Anyway the news about local portfiles is great, I'll have a go sometime in the next few months.</div><div class=""><br class=""></div><div class="">- George</div></body></html>