httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Multiple apache instances
Date Mon, 15 Aug 2005 23:44:31 GMT
On 8/15/05, Spike Burkhardt <burkhardt.richard@ssd.loral.com> wrote:
> All,
> 
>  I have two apache instances running.  Is there a way to kill just 1
> instance?  To be more specific, I have 1 startup file with the standard
> startup.  In the httpd.conf file, it specifies:
> 
> PidFile /usr/local/apache/logs/httpd.pid
> 
> In the second startup file the line that starts the server is:
> 
> httpd - f /usr/local/apache/conf/httpd-oracal.conf start
> and the PidFile line reads:
> 
> PidFile /usr/local/apache/logs/httpd-oracal.pid.
> 
> Can I tell apache only to stop this instance or should I write a script
> to do it?

Either apachectl -f /usr/local/apache/conf/httpd-oracal.conf -k stop
or just
kill `cat /usr/local/apache/logs/httpd-oracal.pid`

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message