This commit is contained in:
OzzieIsaacs 2017-03-17 19:58:07 +01:00
parent a87fab8774
commit 806cb5d856

1
cps.py
View File

@ -22,6 +22,7 @@ if __name__ == '__main__':
http_server = HTTPServer(WSGIContainer(web.app)) http_server = HTTPServer(WSGIContainer(web.app))
http_server.listen(web.ub.config.config_port) http_server.listen(web.ub.config.config_port)
IOLoop.instance().start() IOLoop.instance().start()
IOLoop.instance().close(True)
if web.helper.global_task == 0: if web.helper.global_task == 0:
web.app.logger.info("Performing restart of Calibre-web") web.app.logger.info("Performing restart of Calibre-web")