[CentOS] best way to start and shutdown programs in CentOS?

Kill Script killscript at gmail.com
Mon Nov 22 14:37:52 EST 2010

On Mon, Nov 22, 2010 at 9:36 AM, Brian Mathis <brian.mathis at gmail.com>wrote:

> It may be tempting to use the rc.local, but that's the quick and dirty
> way and not good for the long-term sustainability and management of a
> system.  There's no way to individually control any service running
> from there, and no way to stop it on shutdown.

Yeah, thank you.  I talked with the person who wrote the Java program, and
he essentially said the same thing.

I'm looking through his suggestions now, and he suggested a shutdown script.
I others who have examples with pid.txt and "dirname $0".  Not sure what
these are and am googling them now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20101122/b0144a4b/attachment.html 

More information about the CentOS mailing list