]> git.saurik.com Git - apple/launchd.git/blobdiff - launchd/src/launchd.8
launchd-258.1.tar.gz
[apple/launchd.git] / launchd / src / launchd.8
index 5938eae36ed5e36facb2a5cdeb8171b57447fbc3..315b255a32959b5c0bc9f6258d9b152b473aa538 100644 (file)
@@ -7,15 +7,20 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl d
-.Op Fl v
+.Op Fl D
 .Op Fl s
-.Op Fl x
+.Op Fl S Ar SessionType
 .Op Ar -- command Op Ar args ...
 .Sh DESCRIPTION
 .Nm 
-manages daemons, both for the system as a whole and for individual 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.
+manages processes, both for the system as a whole and for individual users.
+The primary and preferred interface to
+.Nm
+is via the
+.Xr launchctl 1
+tool which (among other options) allows the user or administrator to load and unload jobs.
+Where possible, it is preferable for jobs to launch on demand based on criteria specified
+in their respective configuration files.
 .Pp
 When run with a command, a specific instance of
 .Nm
@@ -30,18 +35,19 @@ instance of
 During boot 
 .Nm
 is invoked by the kernel to run as the first process on the system and to further bootstrap the rest of the system.
+.Sh OPTIONS
+.Bl -tag -width -indent
+.It Fl D
+Debug. Prints syslog messages to stderr and adjusts logging via
+.Xr syslog 3
+to LOG_DEBUG.
+.El
 .Sh OPTIONS WHEN RUN AS PID 1
 .Bl -tag -width -indent
-.It Fl d
-Daemonize. Useful when passing a command to launchd on the command line.
-.It Fl v
-Verbose boot.
 .It Fl s
 Single user mode. Instructs
 .Nm launchd
 to give a shell prompt before booting the system.
-.It Fl x
-Safe mode boot. Instructs the system to boot conservatively.
 .El
 .Sh ENVIRONMENTAL VARIABLES
 .Bl -tag -width -indent