[NTLUG:Discuss] How to stop process at system shutdown

Indraneel Majumdar lists at 123india.com
Wed Feb 14 19:49:03 CST 2001


The link should be to a script kept in the rc.d or init.d directory. This
script checks how it was called and either starts or stops the service,
and it is this script which calls apachectl. You need to write that script
first or copy it from somewhere and put it. If you want I can send you
mine (for SuSE or RedHat) offlist.

\Indraneel

On Wed, 14 Feb 2001, Neil Aggarwal wrote:

> Greg:
> 
> I did this:
> rm -f /etc/rc3.d/S85httpd
> rm -f /etc/rc0.d/K15httpd
> rm -f /etc/rc6.d/K15httpd
> ln -s /usr/local/apache/bin/apachectl /etc/rc3.d/S85httpd
> ln -s /usr/local/apache/bin/apachectl /etc/rc0.d/K15httpd
> ln -s /usr/local/apache/bin/apachectl /etc/rc6.d/K15httpd
> 
> And I still dont get the httpd stopped message when I do
> /sbin/reboot
> 
> Any more ideas?




More information about the Discuss mailing list