mozilla-services/circus — pull request #28 by benoitc (2012-03-06 13:43:40+00:00)
Title: handle reload and graceful flies exit

new features :

- graceful reload is now handled on hup & quit commands: instead of closing
immediately flies, we try first to send them a SIGQUIT teh we for kill
using SIGKILL.
- add terminate command for the trainer and shows. workers are killed
immediately.
- handle HUP signal on the trainer: it reopen log files & reload all
shows
- add prereload_fn callback: cann be used before reload to update the
config or anything else.

also handle missing shows options from the config file.