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

Neil Aggarwal neil at JAMMConsulting.com
Wed Feb 14 15:05:10 CST 2001


Kyle:

I did a locate tksysv, but I did not see it.
Where can I get it?

Thanks,
	Neil.


Kyle Davenport wrote:
> 
> Try using tksysv.  It will create the correct links from start/stop scripts
> (with console output of start/stop) in /etc/rc.d/init.d.   If you look in
> /etc/rc.d/rc you'll see it calls the "leaving runlevel" rc#.d scripts like "$i
> stop".
> 
> Neil Aggarwal <neil at JAMMConsulting.com> on 02/13/2001 08:59:18 PM
> 
> Please respond to discuss at ntlug.org
> 
> To:   North Texas Linux Users Group <discuss at ntlug.org>
> cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
> Subject:  [NTLUG:Discuss] How to stop process at system shutdown
> 
> 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.
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss

--
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