How to make "sudo port install" run a post-activate script with only user permission?

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Oct 4 07:19:20 PDT 2012


> The question is then, is it possible to install a launchd-service which would somehow monitor whether the current user installed certain ports. If a the port(s) in question were indeed installed that service could then start the necessary script with the user's permissions.
> 
> What about that?

I think you'd want a System LaunchAgent which would install User LaunchDaemons. Time to read up on launchd :D



More information about the macports-dev mailing list