This commit is contained in:
		
							
								
								
									
										4
									
								
								pin.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pin.sh
									
									
									
									
									
								
							@@ -4,6 +4,10 @@ set -e
 | 
			
		||||
 | 
			
		||||
HOST=${PLUGIN_CLUSTER_HOST:-"/dns4/cluster.walkah.cloud"}
 | 
			
		||||
 | 
			
		||||
if [ ! -x ${PLUGIN_DEBUG} ]; then 
 | 
			
		||||
    echo "ipfs-cluster-ctl --host ${HOST} --basic-auth ${PLUGIN_CLUSTER_USER}:${PLUGIN_CLUSTER_PASSWORD} ${PLUGIN_CLUSTER_ARGS} add --quieter --cid-version 1 --name ${PLUGIN_DOMAIN} --recursive --local ${PLUGIN_EXTRA_ARGS} ${PLUGIN_PATH}"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# pin to cluster
 | 
			
		||||
root_cid=$(ipfs-cluster-ctl \
 | 
			
		||||
    --host ${HOST} \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user