Re: Restart Apache


Subject: Re: Restart Apache
From: nathan r. hruby (nhruby@arches.uga.edu)
Date: Wed Nov 21 2001 - 07:59:43 MST


On Wed, 21 Nov 2001, Matt Yee-King wrote:

> if yellow dogs based on redhat,
>
> /etc/rc.d/init.d/httpd restart
> or
> /etc/rc.d/init.d/apache restart
> should do it.
>
> to start automatically at boot time depends on what run level you go
> into when you boot. i guess its 5, so cd to
>
> /etc/rc5.d
>
> and rename (with the mv command)
>
> Kxxhttpd (xx is a two digit number) to Sxxhttpd
>

Less typing:
# do something to a service
/sbin/service httpd [start | stop | restart | status]

# Turn things on at boot
/sbin/chkconfig httpd [on | off]

-n

-- 
......
nathan hruby - nhruby@arches.uga.edu
computer support specialist
department of drama and theatre
http://www.drama.uga.edu/
......



This archive was generated by hypermail 2a24 : Wed Nov 21 2001 - 08:12:53 MST