Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Graceful App Shutdown #14

Open
tobru opened this issue Feb 27, 2021 · 1 comment
Open

Handle Graceful App Shutdown #14

tobru opened this issue Feb 27, 2021 · 1 comment

Comments

@tobru
Copy link
Owner

tobru commented Feb 27, 2021

Better compliance with Kubernetes.

https://stackoverflow.com/questions/18499497/how-to-process-sigterm-signal-gracefully/31464349#31464349

@tobru
Copy link
Owner Author

tobru commented Feb 27, 2021

5aae306

2021-02-27 14:05:29,586 - pylokid - INFO - Starting pylokid version 3.0.3
2021-02-27 14:05:29,587 - pylokid.library.emailhandling - INFO - Connecting to IMAP server hosted.mailcow.de
2021-02-27 14:05:29,674 - pylokid.library.emailhandling - INFO - IMAP connection successful
2021-02-27 14:05:29,674 - pylokid.library.lodur - INFO - Connecting to Lodur
2021-02-27 14:05:33,510 - pylokid.library.lodur - INFO - Login to Lodur succeeded
2021-02-27 14:05:33,511 - pylokid.library.webdav - INFO - Connecting to WebDAV server https://files.feuerwehrurdorf.ch/remote.php/webdav/
2021-02-27 14:05:33,512 - pylokid.library.webdav - INFO - WebDAV connection successfull
2021-02-27 14:05:33,512 - pylokid.library.pdftotext - INFO - PDF parsing based on pdftotext loaded
2021-02-27 14:05:33,512 - pylokid.library.emailhandling - INFO - Searching for messages matching: (OR OR SUBJECT "Einsatzausdruck_FW" SUBJECT "Einsatzprotokoll" SUBJECT "Einsatzrapport" UNSEEN)
2021-02-27 14:05:33,522 - pylokid.library.emailhandling - INFO - Found 0 matching messages
2021-02-27 14:05:33,574 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:06:03,591 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:06:33,622 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:07:03,654 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:07:33,681 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:08:03,710 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:08:33,739 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:09:03,769 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:09:33,799 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:10:03,823 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:10:33,848 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:11:03,879 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:11:33,902 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:12:03,932 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:12:33,965 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:13:03,995 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:13:34,022 - pylokid - INFO - Waiting 30 seconds until next check
2021-02-27 14:13:40,716 - pylokid - INFO - Received signal SIGTERM
2021-02-27 14:14:04,038 - pylokid - INFO - Pylokid waves bye bye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant