<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body text="#000000" bgcolor="#FFFFFF"><br>
<blockquote style="border: 0px none;"
cite="mid:A69670D5-C3A0-4427-AE94-C669DC205B3F@mac.com" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:gregneagle@mac.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Gregory Neagle</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">November
13, 2015 at 5:07 PM</span></font></div> </div></div>
<div style="color: rgb(136, 136, 136); margin-left: 24px;
margin-right: 24px;" __pbrmquotes="true" class="__pbConvBody">
I think that is best you can hope for, unless you create a LaunchDaemon
that can find out what users you want to start background sessions for.
</div>
</blockquote>
<br>
I'll save you the trouble of reading the previous posts. What I really
want is a "user daemon": a process that runs for a single user, all the
time, whether the user is logged in or not. OS X really doesn't support
this.<br>
<br>
Many years ago, based on another suggestion, I implemented a "kicker"
system daemon. This daemon has a list of UIDs that have my product
installed.<br>
<br>
So, at system startup, the "kicker" daemon executes once and performs a
simple bootstrap name look up for each listed user. This has the
side-effect of initializing the bootstrap for those specific users,
which then causes all of the background agents for those users to start.<br>
<br>
The end result is my "user daemon". At startup, an instance of each
background agent is started for each user that has installed it.<br>
<br>
At least, that was the plan...<br>
<br>
James<br>
</body></html>