diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-12-03 03:36:02 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-12-03 03:36:02 +0100 |
commit | be5cc4bdc5ce75fa3896f37601dc97f7602b2a38 (patch) | |
tree | 061807b971b75bbb214d1291731e9a2493c3f116 /phenny | |
parent | 0d6455e0d1c4655d125b3291caa5612496bae43c (diff) | |
download | bot-master.tar.gz bot-master.tar.bz2 bot-master.zip |
Spawn one process for each bot and kill all if one process dies (f.e. on
KeyboardInterrupt) or if the parent process (Watcher) gets SIGTERM.
Diffstat (limited to 'phenny')
-rwxr-xr-x | phenny | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -171,9 +171,7 @@ def main(argv=None): # Step Five: Initialise And Run The Phennies - # @@ ignore SIGHUP - for config_module in config_modules: - run(config_module) # @@ thread this + run(config_modules) if __name__ == '__main__': main() |