[launchd-changes] [23352] trunk/launchd/src/launchctl.1
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 4 14:23:22 PDT 2007
Revision: 23352
http://trac.macosforge.org/projects/launchd/changeset/23352
Author: zarzycki at apple.com
Date: 2007-09-04 14:23:22 -0700 (Tue, 04 Sep 2007)
Log Message:
-----------
<rdar://problem/5451407> launchctl documention doesn't list -S argument to unload
Modified Paths:
--------------
trunk/launchd/src/launchctl.1
Modified: trunk/launchd/src/launchctl.1
===================================================================
--- trunk/launchd/src/launchctl.1 2007-09-04 21:19:55 UTC (rev 23351)
+++ trunk/launchd/src/launchctl.1 2007-09-04 21:23:22 UTC (rev 23352)
@@ -53,6 +53,8 @@
With a session type passed, it would load from /System/Library/LaunchAgents.
.El
.It Xo Ar unload Op Fl w
+.Op Fl S Ar sessiontype
+.Op Fl D Ar domain
.Ar paths ...
.Xc
Unload the specified configuration files or directories of configuration files.
@@ -60,6 +62,20 @@
.Bl -tag -width -indent
.It Fl w
Add the disabled key and write the configuration files back out to disk.
+.It Fl S Ar sessiontype
+Some jobs only make sense in certain contexts. This flag instructs
+.Nm launchctl
+to look for jobs in a different location when using the -D flag, and allows
+.Nm launchctl
+to restrict which jobs are loaded into which session types. Currently known
+session types include: Aqua, LoginWindow, Background, StandardIO and System.
+.It Fl D Ar domain
+Look for
+.Xr plist 5 files ending in *.plist in the domain given. Valid domains include
+"system," "local," "network" and "all." When providing a session type, an additional
+domain is available for use called "user." For example, without a session type given,
+"-D system" would load from property list files from /System/Library/LaunchDaemons.
+With a session type passed, it would load from /System/Library/LaunchAgents.
.El
.It Xo Ar submit Fl l Ar label
.Op Fl p Ar executable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070904/259e6bf2/attachment.html
More information about the launchd-changes
mailing list