GSoC 2018 Project: Improve startupitem code

Joshua Root jmr at macports.org
Thu Feb 15 19:22:25 UTC 2018


On 2018-2-16 06:02 , Bradley Giesbrecht wrote:
>> On Feb 15, 2018, at 10:47 AM, Joshua Root <jmr at macports.org> wrote:
>>
>> On 2018-2-16 05:04 , Bradley Giesbrecht wrote:
>>> How to handle two launchd plists with “port load” command? Separate ports?
>>
>> This is <https://trac.macports.org/ticket/44295>.
> 
> Is this one of the issues you are closing?

I have an approach in mind.

>>> The common locations where launchd plists need to be loaded from:
>>> ~/Library/LaunchAgents
>>
>> Installing into ~ is problematic in general. I don't think it's really
>> needed; per-user stuff can live in /Library/LaunchAgents.
> 
> Of course, thanks for the point.
> 
> So we might have “startupitem.directory /Library/LaunchDaemons”, the default, but can be set to “startupitem.directory /Library/LaunchAgents”?

It would be "startupitem.location LaunchAgents" under the current system.

- Josh


More information about the macports-dev mailing list