github.com/metacurrency/holochain@v0.1.0-alpha-26.0.20200915073418-5c83169c9b5b/docker/app.docker/syncedMultiNode.containers.scripts/post.up (about) 1 #!/bin/sh 2 export "PATH=/Scripts/syncedMultiNode.containers.scripts:$PATH" 3 4 sync externalStartEvent 5 6 sync hc.sync.ready 7 8 echo "releasing hc.sync services together" 9 10 seedID=`cat /chain.seeded/devchain/.seedID` 11 clusterDir="/chain.seeded/devchain/cluster/$seedID" 12 13 #set -x 14 15 #ls $clusterDir/hc 16 #ls /runtime 17 18 19 counter=1 20 for container in `ls $clusterDir/hc`; do 21 cp /runtime/cluster/hc/$counter.* $clusterDir/hc/$container 22 counter=$(( counter+1 )) 23 done 24 25 26 cnys post.up