diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-07-26 15:46:35 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-07-26 15:46:35 +0300 |
| commit | a4af1c91a7196752d2fe8ccf7e5cbb1593e95f65 (patch) | |
| tree | 1edd5754ded769aec774766cab885f759ef1e641 /radiodiodibot | |
| parent | d8d8745e7370ec0efa85e3f98da85f79b66c1422 (diff) | |
Add threading to UptimeService, fix response
Diffstat (limited to 'radiodiodibot')
| -rwxr-xr-x | radiodiodibot | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
