Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
keylime.30092
fix_exit.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_exit.diff of Package keylime.30092
Index: keylime-v6.3.2/keylime/cloud_verifier_tornado.py =================================================================== --- keylime-v6.3.2.orig/keylime/cloud_verifier_tornado.py +++ keylime-v6.3.2/keylime/cloud_verifier_tornado.py @@ -1126,12 +1126,15 @@ def main(): await server.close_all_connections() tornado.ioloop.IOLoop.current().stop() asyncio.ensure_future(stop()) + sys.exit(0) # Attach signal handler to ioloop. # Do not use signal.signal(..) for that because it does not work! - loop = asyncio.get_event_loop() - loop.add_signal_handler(signal.SIGINT, server_sig_handler) - loop.add_signal_handler(signal.SIGTERM, server_sig_handler) + # loop = asyncio.get_event_loop() + # loop.add_signal_handler(signal.SIGINT, server_sig_handler) + # loop.add_signal_handler(signal.SIGTERM, server_sig_handler) + signal.signal(signal.SIGINT, server_sig_handler) + signal.signal(signal.SIGTERM, server_sig_handler) server.start() if task_id == 0:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor