LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-11-2002, 09:01 AM   #1
fmohideen76
LQ Newbie
 
Registered: Jul 2002
Posts: 7

Rep: Reputation: 0
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...

Last edited by fmohideen76; 07-11-2002 at 09:29 AM.
 
Old 07-11-2002, 12:44 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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?
 
Old 07-11-2002, 01:15 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help pls!!! grep or tail->restart poj Linux - Software 3 11-26-2004 12:50 AM
run script when restart ust Linux - Software 4 08-25-2004 03:13 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 09:34 AM
setting script to run when system enter init 3 fowlerlfc Linux - Newbie 2 10-29-2002 03:02 PM
I am not able to run mysql pls help me. Harish_f Linux - General 3 05-07-2002 03:26 AM


All times are GMT -5. The time now is 05:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration