Re: best way to start and shutdown programs in CentOS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Nov 21, 2010 at 6:19 PM, Kill Script <killscript@xxxxxxxxx> wrote:
> I have a Java program that I want to start up with every boot, but I'm
> unsure how to do it.
> There are two bootup scripts that start manually (script1.sh and
> script2.sh), and when the server gets shutdown, we have another script that
> we run (shutdownscript.sh) so that the DB does not get corrupted.

Have you looked at Java Service Wrapper:

http://wrapper.tanukisoftware.com/doc/english/introduction.html

Ultimately, you will be creating an init.d script as discussed in this
thread, but this provides some java-specific features.

-- Jeff
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux