[macosx-unix] launchd [was: amanda backup]

Jan Schaumann jschauma at netmeister.org
Fri Mar 17 09:39:49 EST 2006


Bob Ippolito <bob at redivi.com> wrote:
> 
> On Mar 16, 2006, at 10:54 AM, Jan Schaumann wrote:

> >launchd does not seem to allow you to specify a specific order -- I
> >believe that that is actually somehow argued to be an advantage of
> >launchd.
> 
> Instead of ordering, you specify dependencies via Uses/Requires/ 
> Provides keys.

Interesting.  That's a useful thing, which I'm used to from NetBSD's rc
system.  Where is this documented?  (Doesn't seem to be in
launchd.plist(5), and none of the existing files in
/System/Library/LaunchDaemons has an example.)

-Jan

P.S.:  FWIW, I added an entry to root's crontab to unload and reload the
amanda launchd plist via '@reboot'.  Since cron kicks is later, after
the volumes have been mounted, this actually works, but it's obviously a
hack.

-- 
chown -R us:enemy your_base
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://berdom.net/pipermail/macosx-unix/attachments/20060317/e70b7f65/attachment.bin


More information about the macosx-unix mailing list