On 8/15/05, Spike Burkhardt <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to