nesquena/dante — pull request #12 by krainboltgreene (2014-03-30 09:13:01+00:00)
Title: Major refactor

So this started off as me just implementing that logger change, but ended up as a major refactor. I didn't start off with this in mind but I think it's something that'll be good for anyone using dante, with the following being the most important:

1. No more internal logging code.
2. No more internal PID management
3. No more erb or yaml requirements (Not sure why they're even required?)
4. Smaller surface to test.
5. Easier time inheriting the core class for custom daemon classes.

Some things still left to be done:

1. Pid file management, probably with https://github.com/samullen/pidfile
2. User/group management
3. Some default tests, maybe
4. Built in stop/start/restart commands?