[CentOS] shutdown script

Fri Dec 3 20:43:10 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

Michael D. Berger wrote:
> 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?

Wait - what I get from what you say, above, is that it's not killed by its
script in /etc/init.d: why not? What's the output from chkconfig --list
<servicename>?

       mark