| mbrugo@gmail.com 2006-11-06, 1:12 pm |
| Hi to all.
I need to add a new service so i 've used a script found on /etc/init.d
and modified with my options.
Then i've used chkconfig to add my script to start and stop on each
runlevel.
chkconfig --add em (em is my script) :
#!/bin/sh
#
# chkconfig: 2345 99 35
# description: Starts and stops the EM (Oracle 10G)
# #
# script: /opt/oracle/app/oracle/product/EM10G/SH/EM.SH (root)
# script: /opt/oracle/app/oracle/product/EM10G/SH/em.SH (em10g)
so on level 3,4,5 i 've a S99 link and 0,1,6 i've a K35.
My question is:
why when server start, my em script run but when i do a reboot (i
suppose init 6) my script doesn't ?
Thanks
Mike
|