kill / start script (for Beartooth)
nathan r. hruby
yellowdog-general@lists.terrasoftsolutions.com
Fri May 2 17:00:02 2003
On Fri, 2 May 2003, chip wrote:
> >
> >scripts that start with a K (case is important) will stop a service if it
> >is running, else they are ignored. scripts that start with an S start
> >services. Apache is probably started by a script with a name like S80httpd
> >(I haven't loaded 3.0 yet) - the httpd is the important part . . .
> >
> >rename that script to K80httpd in rc3.d and rc5.d and restart . . .
> >mv S80httpd K80httpd
> >
That's all very correct but the easier method would be:
# Stop the httpd service:
/sbin/service stop httpd
# Stop httpd from starting at future boots:
/sbin/chkconfig off httpd
This ensures that other tools that depend on /etc/init.d/rc* being a
specific way are happy, and is easier to grok.
Note that the service command seems redhat specific, but chkconfig is a
derivitave/reimplement of IRIX's chkconfig, but way better, IMHO.
Additionally, If the YDL-3 installer follows redhat's anaconda setup, the
installer should ask you at somepoint what services you want at boot by
presenting a list to you, with most services being off, depending on what
preset you chose.
-n
--
----------------------------------------
nathan hruby <nathan@drama.uga.edu>
computer services specialist
uga drama & theatre
reality is a moving target
----------------------------------------