<div dir="ltr"><div><div><div>Thanks for the link Craig.<br></div>The description on the site is confusing.<br></div>I prefer the official one<br><a href="https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man5/launchd.plist.5.html" target="_blank">https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man5/launchd.plist.5.html</a><br>


<br></div>but as macports startupitem doesn&#39;t support this key, it means including plist in Port&#39;s files which is already the case for cron like task.<br><div><div><div><div><div><div class="gmail_extra"><br><br>

<div class="gmail_quote">
2014-04-17 10:42 GMT-04:00 Craig Treleaven <span dir="ltr">&lt;<a href="mailto:ctreleaven@cogeco.ca" target="_blank">ctreleaven@cogeco.ca</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>At 10:22 AM -0400 4/17/14, Julien T wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
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.<br>
</blockquote>
<br></div>
Quick note...I found the following site useful:<br>
<br>
<a href="http://launchd.info/" target="_blank">http://launchd.info/</a><br>
<br>
Regarding dependencies, see the tab &quot;Configuration&quot; and the explanation of &quot;OtherJobEnabled&quot; (which is pretty poorly named for what it really does) and &quot;NetworkState&quot;.  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.<span><font color="#888888"><br>



<br>
Craig<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div>