I have 2 scripts that starts and stops a job.
Startscript
#!/bin/csh
su - oracle -c "/jobs/db101start"
my stopscript is
#!/bin/csh
su - oracle -c "/jobs/db102stop"
Now I have created 2 scripts called them startdb101 and stopdb102 and place them in ../init.d
Created sym link for both files with the names of
S10db101start and K10db102stop under .../rc3.d
rebooted the server.
during the reboot, my job starts very nicely and things work fine but when I shutdown, my shutdown job does not run.
Also Not very familar with chkconfig.
thanks much for your input.
Startscript
#!/bin/csh
su - oracle -c "/jobs/db101start"
my stopscript is
#!/bin/csh
su - oracle -c "/jobs/db102stop"
Now I have created 2 scripts called them startdb101 and stopdb102 and place them in ../init.d
Created sym link for both files with the names of
S10db101start and K10db102stop under .../rc3.d
rebooted the server.
during the reboot, my job starts very nicely and things work fine but when I shutdown, my shutdown job does not run.
Also Not very familar with chkconfig.
thanks much for your input.