Portfile development questions
Craig Treleaven
ctreleaven at cogeco.ca
Thu Apr 17 07:42:11 PDT 2014
At 10:22 AM -0400 4/17/14, Julien T wrote:
>Another question, is there any wait for a launchd plist or macports
>startupitem to specify dependency to run? for example, an
>application depending on its database.
Quick note...I found the following site useful:
http://launchd.info/
Regarding dependencies, see the tab "Configuration" and the
explanation of "OtherJobEnabled" (which is pretty poorly named for
what it really does) and "NetworkState". One of them may get you
close enough. Really, though, Apple expects these processes to be
well-behaved and do their own checking/waiting for the conditions
they need to be able to run.
Craig
More information about the macports-users
mailing list