Commit 806cb5d8 authored by OzzieIsaacs's avatar OzzieIsaacs

Fixes #132

parent a87fab87
......@@ -22,6 +22,7 @@ if __name__ == '__main__':
http_server = HTTPServer(WSGIContainer(web.app))
http_server.listen(web.ub.config.config_port)
IOLoop.instance().start()
IOLoop.instance().close(True)
if web.helper.global_task == 0:
web.app.logger.info("Performing restart of Calibre-web")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment