[CentOS] shutdown script

Fri Dec 3 20:36:02 UTC 2010
Michael D. Berger <m_d_berger_1900 at yahoo.com>

I have a daemon that throws an exception whenever I shutdown or
reboot.  However, stopping it with kill -15, or calling the
stop command in its start stop script (in /etc/init.d/) results
in correct termination.

Therefore, might it be that shutdown or reboot call an initial script
in which I can stop the daemon, and then delay a little?

Thanks,
Mike.