mozilla-services/circus — pull request #663 by scottkmaxwell (2013-11-19 04:15:41+00:00)
Title: Added after_spawn hook with tests and docs

I also had to fix the logic for before_spawn. Returning False prevented the process from running, but did not set the watcher to 'stopped' if all spawns were prevented, causing manage_processes to try to relaunch it again immediately.