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

Shutdown gracefully #6

Open
garberg opened this issue Jun 30, 2012 · 1 comment
Open

Shutdown gracefully #6

garberg opened this issue Jun 30, 2012 · 1 comment
Labels

Comments

@garberg
Copy link
Owner

garberg commented Jun 30, 2012

Catch signals such as SIGINT and shut the application down gracefully.

@garberg
Copy link
Owner Author

garberg commented Jun 30, 2012

Really needed to handle the database worker process(es)!

garberg added a commit that referenced this issue Jul 1, 2012
bmpd can now be run as a daemon (\o/) with help from the python-daemon
package (http://pypi.python.org/pypi/python-daemon/).
Fixes #5.

Also moved creation of storage class to the exeutable (bmpd), as we need
access to this object for graceful shutdown of database processes. This
also made it easier to make number of database processe configurable as
a command-line argument, which it now is!
Refs #6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant