mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	upgrade: Stop in the same order as restart-server.
restart-server explicitly stops the workers first, then the core services. Keep that ordering consistently.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							dc58dec231
						
					
				
				
					commit
					dd68cc98fd
				
			@@ -104,7 +104,7 @@ def shutdown_server() -> None:
 | 
			
		||||
        core_server_services.append("zulip-thumbor")
 | 
			
		||||
 | 
			
		||||
    logging.info("Stopping Zulip...")
 | 
			
		||||
    subprocess.check_call(["supervisorctl", "stop", *core_server_services, *worker_services],
 | 
			
		||||
    subprocess.check_call(["supervisorctl", "stop", *worker_services, *core_server_services],
 | 
			
		||||
                          preexec_fn=su_to_zulip)
 | 
			
		||||
    IS_SERVER_UP = False
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user