I wrote a new script for chkconfig to start/stop a database engine. The start works fine, but the script never gets called for a stop. Yes, I have the chkconfig params in the script, yes, I can execute the shell from the command line :
/etc/init.d/informix start and /etc/init.d/informix stop
the K05informix and S95informix files are linked to ../init.d/informix
I have spent two days on this and have learned a lot about chkconfig. I've read posts, man pages, etc. but I am stumped.
How can init not call this script during shutdown?
/var/log/boot.log show the start is successful, but there is no mention of a stop. I verified that the 'stop' is never being executed by traps in the script and other methods...