Re: Startupitems for non-root user

2018-05-31 Thread Joshua Root
On 2018-6-1 04:36 , macpo...@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

Startupitems for non-root user

2018-05-31 Thread macports
Looking through all Portfiles for examples, I found these: executable sudo -u ${cassandrauser} env \ executable sudo -u elasticsearch ${prefix}/bin/${name} So I tried this: startupitem.create yes startupitems \ name munin-asyncd \ executable sudo -u munin ${prefix}/lib/munin/m