Manual Pages for UNIX Darwin command on man launchd
MyWebUniversity

Manual Pages for UNIX Darwin command on man launchd

launchd(8) BSD System Manager's Manual launchd(8)

NAME

llaauunncchhdd - System wide and per-user daemon/agent manager

SYNOPSIS

llaauunncchhdd [-dd] [-vv] [-ss] [-xx] [- command [args ...]]

DESCRIPTION

llaauunncchhdd manages daemons, both for the system as a whole and for individ-

ual users. Ideal daemons can launch on demand based on criteria specified in their respective XML property lists located in one of the directories specified in the FILES section. When run with a command, a specific instance of llaauunncchhdd is created and the command is implicitly added to the list of jobs maintained by llaauunncchhdd. If the command exits, that instance of llaauunncchhdd will clean up all jobs maintained by itself and exit. All children of the command will use that instance of llaauunncchhdd. During boot llaauunncchhdd is invoked by the kernel to run as the first process on the system and to further bootstrap the rest of the system. OOPPTTIIOONNSS WWHHEENN RRUUNN AASS PPIIDD 11

-dd Daemonize. Useful when passing a command to launchd on the com-

mand line.

-vv Verbose boot.

-ss Single user mode. Instructs llaauunncchhdd to give a shell prompt

before booting the system.

-xx Safe mode boot. Instructs the system to boot conservatively.

ENVIRONMENTAL VARIABLES LAUNCHDSOCKET This variable is exported when invoking a command via the

launchd command line. It informs launchctl how to find the cor-

rect launchd to talk to.

NNOOTTEESS

In Darwin it is preferable to have your daemon launch via launchd instead

of modifying rrcc or creating a SSyysstteemmSSttaarrtteerr Startup Item. At some point in the future, we hope to completely phase out the use of rrcc. FILES

~/Library/LaunchAgents Per-user agents provided by the user.

/Library/LaunchAgents Per-user agents provided by the adminis-

trator.

/Library/LaunchDaemons System wide daemons provided by the admin-

istrator.

/System/Library/LaunchAgents Mac OS X Per-user agents.

/System/Library/LaunchDaemons Mac OS X System wide daemons.

SEE ALSO

launchctl(1), launchd.plist(5), rc(8), SystemStarter(8)

Darwin September 30, 2004 Darwin




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™