User for startupitem.executable

Javier Alcázar javucho1000 at
Sat Sep 17 08:12:13 PDT 2016

Hi people,

I'm creating a new Portfile with startupitem.executable, and wondering what
is the best way to execute the command with a specific user.

I tried using "su -c executable args" but with this approach launchd ends
up monitoring the "su" process instead of the "executable"

What would you recommend to do so launchd looks at the "executable" process?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list