> Going straight to my problem, I need to run > some programs automatically when my linux box > boots up. What's the best way to approach > this? To be more specific, i've got a java > application that needs to be run on the system > when it starts. > > So far with what I did, the system did boot up > and my application did run, but since the > application doesn't give back the console to > the system, other startup scripts (that should > have run after my application) didn't run > unless I terminate the program. The > application just lets you see some logs on > things he is doing on the system.
You did not mention what distro OS you have. Different Distro, different Runlevels they belong. (OT, Windows defaults to Runlevel 1!) init scripts can be found in: /etc/init.d (Debian & Solaris) /etc/rc.d/init.d (Redhat, etc.) runlevel subdirs can be found in: /etc/rc1.d ... /etc/rc6.d (Debian & Solaris) /etc/rc.d/rc1.d ... /etc/rc.d/rc6.d (Redhat, etc.) in a nutshell, create a start/stop init script for your java application. Then link it to the corresponding runlevel subdirectory you want it to start/stop. google for "Linux runlevel". regards, --- Andre _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
