更新 noderedeploy.sh
This commit is contained in:
		
							parent
							
								
									61987e740f
								
							
						
					
					
						commit
						dba905aa8f
					
				@ -33,7 +33,7 @@ if [ ! -d "/usr/local/goedge" ]; then
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Create or overwrite api_node.yaml from the template
 | 
					    # Create or overwrite api_node.yaml from the template
 | 
				
			||||||
    if [ -d "./configs" ]; then
 | 
					    if [ -d "./configs" ]; then
 | 
				
			||||||
        cp "./configs/api_node.template.yaml" "$edge_node_path/configs/api_node.yaml"
 | 
					        cp "./configs/api_node.template.yaml" "./configs/api_node.yaml"
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            echo "Configuration directory does not exist. Exiting."
 | 
					            echo "Configuration directory does not exist. Exiting."
 | 
				
			||||||
                exit 1
 | 
					                exit 1
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user