Managing launchd

Brandon Allbery allbery at
Thu Jul 2 16:31:53 PDT 2009

On Jul 2, 2009, at 15:33 , Bryan Blackburn wrote:
> On Thu, Jul 02, 2009 at 07:06:35PM +0300, Panagiotis Atmatzidis said:
>> I've installed dnsmasq but I don't know how to make launchd start
>> dnsmasq on boot. I understand that this has something to do with
>> launchd but I could not find any documentation on how to do it.
> Looks like the dnsmasq port doesn't currently install a launchd item  
> (it has
> at least some of the bits but they are commented-out).  Best would  
> probably
> be to file a ticket for it:
> <>

More generally (say, if you want to customize its startup), try "man  

Note that if you want to do something more complicated than launchd's  
respawn-and/or-watch-a-socket model, you may want to create a  
StartupItem instead.  The reference I used (to create some static  
routes) was 

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at
system administrator [openafs,heimdal,too many hats] allbery at
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the macports-users mailing list