jimmycuadra/lita — pull request #1 by PatrickTulskie (2013-07-19 13:40:57+00:00)
Title: Support for Daemonization and Fixed Infinite Loop

Hey - I just moved our bot code over to Lita and noticed I couldn't do everything in handlers alone. This pull request has the following:

* Built in support for daemonization from the CLI. You can use the -d flag and change where you want the log outputs to go.
* Prevent the bot from calling its own handlers on itself. Sometimes when writing handlers I noticed infinite loops, especially if the bot echos itself or even in the baked in "help" command. This should help alleviate that (spec included).

I have an init.d script that I use to control Lita as a daemon too if you think it should be included.