summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/app.py
AgeCommit message (Collapse)Author
2017-11-20[bug] log and exit on server startup errorsdrebs
Some errors during server startup could leave the server in a zombie state (running, but not listening). This commit makes sure the server stops if errors occur during deferreds created on server startup. Closes #8997.
2017-11-20[bug] use reactor.stop() to exit when server startup checks faildrebs
Our current use of sys.exit(20) to stop the server when startup checks fail affects logging in a bad way. This commit uses a system event trigger to exit with the desired status code when startup checks fail. Closes: #8996
2017-11-14[refactor] factor server twisted app to it's own .py filedrebs