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 <[email protected]> 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
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to