[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] httpd start/stop raq3



WebMost wrote:
> 
> Ahoy
> 
> The entire re-start process only takes a few seconds for me
> 
> GUI is not needed during the interim.
> 
> The only other restart I know is /etc/rc.d/init.d/httpd restart

There's actually a bunch.  This is the easiest.  You can put it into
your path, but I leave it in my admin directory:

> [admin admin]$ cat httpd.restart  
> #!/bin/bash                       
> kill -HUP `cat /var/run/httpd.pid`
> [admin admin]$                    

The middle two lines are the file.  Don't forget, the file needs to be
something like chmod 700.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205