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

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



2010/11/21 Jorge Fábregas <jorge.fabregas@xxxxxxxxx>:
> On Sunday 21 November 2010 20:19:59 Kill Script wrote:
>> I have a Java program that I want to start up with every boot, but I'm
>> unsure how to do it.
>
> Put the call to your script on this file:
>
> /etc/rc.d/rc.local
>
>
> HTH,
> Jorge

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