[NTLUG:Discuss] How to stop process at system shutdown
Neil Aggarwal
neil at JAMMConsulting.com
Tue Feb 13 20:59:18 CST 2001
Hello:
I am using RedHat 7.0.
I am trying to figure out how to get apache to stop and start
at system startup and shutdown.
I installed apache 1.3.14 in /usr/local/apache. It has a
SysV-type start and stop file in /usr/local/apache/bin/apachectl,
so I added these links:
ln -s /usr/local/apache/bin/apachectl /etc/rc3.d/S85httpd
ln -s /usr/local/apache/bin/apachectl /etc/rc3.d/K85httpd
When I start the system I see a message that apache is
starting, but when I shutdown the system, I dont see a
message that apache is stopping.
I added an echo statement to the stop case of the apachectl file,
but I dont get that message.
Can someone guide me on this?
I am sure it is something simple, but I dont fully understand
the SysV stuff.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
More information about the Discuss
mailing list