Apache 2 - am I doing it wrong?
brad at pixilla.com
Thu Sep 10 10:31:56 PDT 2009
On Sep 10, 2009, at 1:28 PM, Scott Haneda wrote:
> I have apache 2 via MacPorts running.
> First issue, reloading I use apachectl. Often times I forget to cd
> to the macports area and enable Apples distro. Is chmod -x apachectl
> sufficient to solve that?
> I can move, rename, symblink, or alias, but wanted opinions on the
> suggested way.
> After a apachectl graceful, which I'm doing often as I secure and
> tune phi.ini, looking at output from ps I see all httpd processes.
> Each has the graceful command in the ps output
> There are usually 10-15 threads running like this. I am used to just
> seeing httpd listed, sans the graceful line.
> Is apachectl the incorrect way to start, stop, or allow a friendly
> reload where connections can finish?
> I've seen another command used to starts and stop, httpd I believe,
> is that the preferred method? What's the difference?
I can't answer your questions but I like to just write shell scripts
that load, unload and reload services or combinations of services
More information about the macports-users