[MacPorts] #22570: startupitems - No RunAtLoad setting ?
MacPorts
noreply at macports.org
Mon Nov 16 14:38:01 PST 2009
#22570: startupitems - No RunAtLoad setting ?
---------------------------------+------------------------------------------
Reporter: dreamcat4@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.8.1
Keywords: | Port:
---------------------------------+------------------------------------------
Comment(by dreamcat4@…):
BUT RunAtLoad generally doesn't play nicely with Daemondo.
It's all to do with forking and listen ports. Launchd can't hand over the
TCP port / sockets its listening in on to anything other than the process
it launched. So uh-oh! Running daemondo will *not* work. Period. Launchd
must perform certain process - port - handover to the newly launched
process, and daemondo doesn't know anything about TCP port / unix socket
to hand over. Just running the command directly will solve such problem
entirely.
So to use effectively by a startupitem template we need an alternate non-
daemondo template. Currently all startupitems templates use daemondo. This
would have to change for allowing some bare command running in the
generated plist file.
--
Ticket URL: <http://trac.macports.org/ticket/22570#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list