I have Apache installed on OS X and I want to know what command I can use to:
- start apache
- stop apache
- restart apache
- gracefully restart apache
Also I want to know if the commands were successful or not.
Apache seams to be installed as org.apache.httpd or at least this is what sudo launchctl list|grep apache shows.
launchctl stop org.apache.httpddoesn't do anything butservice stop org.apache.httpdseems to work even if it does warn me that I should use launchctl instead. – Sorin Sbarnea Jun 30 '11 at 9:26org.apache.httpdto affect launchd control over the app. Are you using the built in apache or installing it yourself? – bmike♦ Jun 30 '11 at 21:24