puppetlabs/puppetdb — pull request #205 by cprice-puppet (2012-07-06 17:15:29+00:00)
Title: Add a shutdown hook with a log message

This commit basically does two things:

* creates a "shutdown-hook" function that we can potentially use
for any cleanup that we need to do when we receive an interrupt.
* logs a message that indicates that we're shutting down.