From 8462467c40337786c60d50a8d7e9ec97262b23fd Mon Sep 17 00:00:00 2001 From: moneromooo Date: Sat, 10 Jan 2015 13:53:42 +0000 Subject: [PATCH] Shutdown redis on normal exit --- tipbot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tipbot.py b/tipbot.py index 4a44643..5451646 100644 --- a/tipbot.py +++ b/tipbot.py @@ -255,3 +255,7 @@ InitScanBlockHeight() RegisterCommands() IRCLoop(OnIdle,OnIdentified,OnCommandProxy) + +log_info('shutting down redis') +redisdb.shutdown +log_info('exiting')