Runnign programs at start up...

Runnign programs at start up...

Post by Alejandro La » Sat, 31 Oct 1998 04:00:00



Hi, I'm new to Linux I I was wondering if anyone could tell me
how to run a program at start up in RHL 5.1.
I am trying to run a java Chat server, which I can run fine on a prompt after I
reboot typing "java Chat &" to run it in the background, but I want to make it
automatic so I don't forget to start it when I rebbot
the machine.
Thanks in advance, and please reply to my email.
Alejandro
 
 
 

Runnign programs at start up...

Post by Frank Sweetse » Sun, 01 Nov 1998 04:00:00



> Hi, I'm new to Linux I I was wondering if anyone could tell me how to run
> a program at start up in RHL 5.1.  I am trying to run a java Chat server,
> which I can run fine on a prompt after I reboot typing "java Chat &" to
> run it in the background, but I want to make it automatic so I don't
> forget to start it when I rebbot the machine.

simply place the appropriate line in /etc/rc.d/rc.local file.

--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.ind.wpi.edu RedHat 5.1 kernel 2.1.126p2ac2 i586 | at public servers
The very powerful and the very stupid have one thing in common.  Instead of
altering their views to fit the facts, they alter the facts to fit their
views ... which can be very uncomfortable if you happen to be one of the
facts that needs altering.
                -- Doctor Who, "Face of Evil"

 
 
 

Runnign programs at start up...

Post by lacarte » Fri, 06 Nov 1998 04:00:00



> Hi, I'm new to Linux I I was wondering if anyone could tell me
> how to run a program at start up in RHL 5.1.
> I am trying to run a java Chat server, which I can run fine on a prompt after I
> reboot typing "java Chat &" to run it in the background, but I want to make it
> automatic so I don't forget to start it when I rebbot
> the machine.
> Thanks in advance, and please reply to my email.
> Alejandro

Hi:

I'm not sure about redhat but in slackware the file to use is
/etc/rc.d/rc.local.

Toodles!
lonac

############################################################
# Everything I ever needed to know about life, I learned   #
# from reading GOD's word (the Holy Bible).                #
#                                                          #
############################################################
Sphynx-Net BBS - An online Christian Experience - Since 11/94
Telephone: (202) 547-0917
Telnet: sphynx-net.ml.org:26 (not full-time)
www:  http://sphynx-net.ml.org
Fido 1:109/111