remove apache2 from startup items

Scott Haneda talklists at newgeo.com
Mon Jan 18 02:41:27 PST 2010


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.

Either way, from there, delete the plist and you are done.

sudo rm /Library/LaunchDaemons/org.macports.apache2.plist
--  
Scott
(Sent from a mobile device)

On Jan 18, 2010, at 12:40 AM, Norman Khine <norman at khine.net> wrote:

> hello,
> i have apache2 installed from macports, but when i built it i forgot
> to set the 'no_startupitem' variant.
>
> now everytime i reboot my computer apache starts and i have this
> process running:
>
> $ ps -ax
>  PID  TT  STAT      TIME COMMAND
>
>   31  ??  Ss     0:00.03 /opt/local/bin/daemondo --label=apache2 -- 
> start-cmd /
>
> what is the cleanest way to remove apache from starting up, as i would
> like to do this manually.
>
> thanks
>
> norman
>
> -- 
> %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
> chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


More information about the macports-users mailing list