Documented the priority support

pull/37/merge
Kohsuke Kawaguchi 2014-01-08 22:38:37 -08:00
parent a4ee776bcc
commit c6b4eef548
1 changed files with 8 additions and 0 deletions

View File

@ -261,3 +261,11 @@ It is possible to specify the useraccount (and password) that the service will r
Some services need to run with a working directory specified. To do this, specify a `<workingdirectory>` element like this:
<workingdirectory>C:\application</workingdirectory>
### priority
Optionally specify the scheduling priority of the service process (equivalent of Unix nice)
Possible values are `idle`, `belownormal`, `normal`, `abovenormal`, `high`, `realtime` (case insensitive.)
<priority>idle</priority>
Specifying a priority higher than normal has unintended consequences. See <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.processpriorityclass(v=vs.110).aspx">MSDN discussion</a> for details. This feature is intended primarily to launch a process in a lower priority so as not to interfere with the computer's interactive usage.