remove apache2 from startup items

Ryan Schmidt ryandesign at macports.org
Mon Jan 18 13:55:33 PST 2010


On Jan 18, 2010, at 04:41, Scott Haneda wrote:

> You can unload Apache two ways:
> 
> sudo port unload apache2
> - or -
> sudo launchctl unload -w /Library/LaunchDaemons/org.macports.apache2.plist
> 
> That should stop Apache from that point forward. The first method will only stop Apache for that login session. The second will stop Apache even beyond a reboot.

Not true; both methods are completely synonymous. One is just easier to type and remember.


> Either way, from there, delete the plist and you are done.
> 
> sudo rm /Library/LaunchDaemons/org.macports.apache2.plist

There's no reason to delete the plist. Just deactivate it as above and the server won't run anymore.




More information about the macports-users mailing list