init-network: wait for storage miner before killing daemons
This commit is contained in:
parent
cbf945d013
commit
3b20e9e367
@ -94,6 +94,8 @@ env LOTUS_PATH="${ldt0222}" LOTUS_STORAGE_PATH="${mdt0222}" ./lotus-storage-mine
|
|||||||
env LOTUS_PATH="${ldt0333}" LOTUS_STORAGE_PATH="${mdt0333}" ./lotus-storage-miner init --actor=t0333 --pre-sealed-sectors="${sdt0333}" --nosync=true --sector-size="${SECTOR_SIZE}" || true
|
env LOTUS_PATH="${ldt0333}" LOTUS_STORAGE_PATH="${mdt0333}" ./lotus-storage-miner init --actor=t0333 --pre-sealed-sectors="${sdt0333}" --nosync=true --sector-size="${SECTOR_SIZE}" || true
|
||||||
|
|
||||||
kill $mpid
|
kill $mpid
|
||||||
|
wait $mpid
|
||||||
|
|
||||||
for (( i=0; i<${#pids[@]}; i++ )); do
|
for (( i=0; i<${#pids[@]}; i++ )); do
|
||||||
kill ${pids[$i]}
|
kill ${pids[$i]}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user