LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   I wants to run the script(xx) while restart the system. help pls... (https://www.linuxquestions.org/questions/linux-general-1/i-wants-to-run-the-script-xx-while-restart-the-system-help-pls-25551/)

fmohideen76 07-11-2002 09:01 AM

I wants to run the script(xx) while restart the system. help pls...
 
Dear all,

I wants to run the script(./catalina.sh for to start the tomcat-jakarta server) while restart the system.

catalina.sh file is there in following directory.
#/usr/local/tomcat4.0.3/bin


so where to place the the file. and what to do to run the file while restart the machine.(redhat7.2)

help pls...

MasterC 07-11-2002 12:44 PM

Please clarify this, do you mean you want it to run during shutdown or during bootup? Or both, as you mean to have it run during shutdown, and then again during bootup and then stop?

Mara 07-11-2002 01:15 PM

You should place a script you want to run (or a symlink to this script) into /etc/rc.d/rc0.d or/and /etc/rc.d/rc6.d


All times are GMT -5. The time now is 04:00 PM.