Fixes #132
This commit is contained in:
		
							parent
							
								
									a87fab8774
								
							
						
					
					
						commit
						806cb5d856
					
				
							
								
								
									
										1
									
								
								cps.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cps.py
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -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")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user