Steve-V/tgg-BotSteve — Issue #94: Better bot manager 
Author: astronouth7303
Created: 2011-11-15 05:39:11+00:00
State: open

The stock process manager (./phenny) lacks in key features. After we get a more reliable datastore (GH-79), we can more freely kill processes.

Basically, we need a bot manager that:

* Forks off different bots into new processes, because the storage API is process-local
* Can take calls from GitHub Post-Receive hooks and reload bots
* Restart bots when they crash (but not when they exit nicely or were killed by external process)
* Reload bots when their config files change
* Take management calls from elsewhere?

Note that this depends on GH-79. We must have a reliable datastore.