]> git.saurik.com Git - apple/launchd.git/blobdiff - man/launchd.plist.5
launchd-842.1.4.tar.gz
[apple/launchd.git] / man / launchd.plist.5
index 068f56a1073f56e1391626758a0ace028c646704..f7f5a090a233cd23f7d77bd62aa0c678b4550113 100644 (file)
@@ -338,6 +338,29 @@ performed automatically by the system.
 This optional key specifies what
 .Xr nice 3
 value should be applied to the daemon.
+.It Sy ProcessType <string>
+This optional key describes, at a high level, the intended purpose of the job.
+The system will apply resource limits based on what kind of job it is. If left
+unspecified, the system will apply light resource limits to the job, throttling
+its CPU usage and I/O bandwidth. The following are valid values:
+.Bl -ohang -offset indent
+.It Sy Background
+Background jobs are generally processes that do work that was not directly
+requested by the user. The resource limits applied to Background jobs are
+intended to prevent them from disrupting the user experience.
+.It Sy Standard
+Standard jobs are equivalent to no ProcessType being set.
+.It Sy Adaptive
+Adaptive jobs move between the Background and Interactive classifications based
+on activity over XPC connections. See
+.Xr xpc_transaction_begin 3
+for details.
+.It Sy Interactive
+Interactive jobs run with the same resource limitations as apps, that is to say,
+none. Interactive jobs are critical to maintaining a responsive user experience,
+and this key should only be used if an app's ability to be responsive depends
+on it, and cannot be made Adaptive.
+.El
 .It Sy AbandonProcessGroup <boolean>
 When a job dies,
 .Nm launchd