Managing launchd
Brandon Allbery
allbery at kf8nh.com
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:
>
> <http://trac.macports.org/newticket>
More generally (say, if you want to customize its startup), try "man
launchd.conf".
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 http://www.secure-computing.net/wiki/index.php/Leopard_Static_Routes
.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
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: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090702/1911c180/attachment.bin>
More information about the macports-users
mailing list