From a4af1c91a7196752d2fe8ccf7e5cbb1593e95f65 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Tue, 26 Jul 2016 15:46:35 +0300 Subject: Add threading to UptimeService, fix response --- radiodiodibot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'radiodiodibot') diff --git a/radiodiodibot b/radiodiodibot index 903881c..0d067dd 100755 --- a/radiodiodibot +++ b/radiodiodibot @@ -12,6 +12,8 @@ from project import uptimeservice def sigint_handler(signal, frame): """Exit gracefully when receiving an interrupt signal""" + logging.info("Stopping uptime services (if any)...") + uptimeservice.UptimeService.stop_services() print("Exiting radiodiodibot...") sys.exit(0) -- cgit v1.3