<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Damien,<br>
<br>
Thanks for the suggestion, and apologies for the tardy reply; I just got
buried under twenty other to-do items that were higher on the list.<br>
<br>
I tried removing the LimitLoadToSessionType entry from my agent's plist,
but it doesn't make any difference. When trying to install it as a
system-wide agent, the process still doesn't start.<br>
<br>
My reading of LimitLoadToSessionType would lead me to believe that it's
applicable to my service, which *is* an agent. It runs as a regular
user, and the docs would indicate that this property is just a hint to
the load balancer on how to constrain its use of CPU/memory/IO. It
doesn't make sense that it would keep the process from starting in the
first place.<br>
<br>
Anyway, I'm replying to Axel's message with a complete description of
what I'm trying to accomplish and exactly what's not working.<br>
<br>
James<br>
<span>
</span><br>
<blockquote style="border: 0px none;"
cite="mid:055F4A57-2A9D-4C61-BF55-7825B9ADCDEF@apple.com" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:dsorresso@apple.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Damien Sorresso</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">June 25, 2015 at
8:53 AM</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>James,<br><br>Your plist
probably has the LimitLoadToSessionType key set to Background, which
will prevent it from loading outside of a user's background session. So
when you do a regular `launchctl load` from a Terminal window (for
example), you're targeting the Aqua session, and launchd says no.
Similarly, if you try and load it into the system session (either by
running launchctl(1) under sudo(1) or by using the bootstrap subcommand
with a "system" target), launchd will also say no.<br><br>If you remove
the LimitLoadToSession type key, you'll be able to load the job wherever
you'd like.<br>-damien<br></div><div><!----><br>
</div></div>
</blockquote>
<br>
</body></html>