Load macports apache2, php & mysql only on userlogin
Ryan Schmidt
ryandesign at macports.org
Sat Jan 23 15:22:36 PST 2016
On Jan 23, 2016, at 15:30, Werner Nemecek <werner.nemecek at farmdok.at> wrote:
>
> Hello,
>
> is it possible to configure macports apache2 + php + mysql to startup only when loggin in with a specific user?
> I use two seperate user accounts for my private stuff and my work related stuff and I don’t want apache loaded automatically on system boot.
There's nothing built into MacPorts to do that. But you can write a launchd plist to do that and place it in your user's LaunchAgents folder. You may be able to reuse most of the launchd plists MacPorts creates in the system's LaunchDaemons folder.
More information about the macports-users
mailing list