Skip to content
Kenneth Kalmer edited this page Jun 5, 2011 · 1 revision

Daemon-kit depends on the safely gem to provide you with a reliable way of executing "dangerous" code. Unhandled exceptions can continously kill your daemon processes unexplainably, especially when backtraces aren't available.

Daemon-kit configures safely by default to log backtraces in log in case of an unclean shutdown so you can trace the errors.

You can refer to the [[safely wiki|https://github.com/kennethkalmer/safely/wiki]] for more information, and configure safely using the generated config/pre-daemonize/safely.rb file.

Clone this wiki locally