Startupitems for non-root user

Joshua Root jmr at macports.org
Thu May 31 19:39:56 UTC 2018


On 2018-6-1 04:36 , macports at parvis.nl wrote:
> - launchd knows when the job died. Why is daemondo even used for an executable startupitem?

Unfortunately, launchd also "knows" that a process died when it calls
daemon() or does the equivalent. A lot of daemons do this, and that's
the main reason why daemondo exists. There is currently no option to
generate a startupitem that doesn't use daemondo, but you can supply
your own plist in cases where you need more flexibility.

> - suggestion: most daemons run under their own system user; make a keyword to specify that user.

<https://trac.macports.org/ticket/13807>

- Josh


More information about the macports-dev mailing list