hok1man
Technical User
- Feb 16, 2008
- 102
Hi Guys,
I have a script that needs to be run once the linux box starts up, but I'm not 100% sure how to implement this.
This is what I know.
my scripts called : controlApps.ksh
but to call it.. I need to put parameter "start", because this script can be use to start and stop application.
so to trigger it: we need to call
controlApps.ksh start
my OS is
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
I used to know that all startup scripts needs to be put in directory /etc/init.d, is it correct?
how do I check what scripts that run and the sequence as well (if possible) once the box starts up?
Appreciate for your help guys...
Cheers,
I have a script that needs to be run once the linux box starts up, but I'm not 100% sure how to implement this.
This is what I know.
my scripts called : controlApps.ksh
but to call it.. I need to put parameter "start", because this script can be use to start and stop application.
so to trigger it: we need to call
controlApps.ksh start
my OS is
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
I used to know that all startup scripts needs to be put in directory /etc/init.d, is it correct?
how do I check what scripts that run and the sequence as well (if possible) once the box starts up?
Appreciate for your help guys...
Cheers,