Touching up cluster restart to wait for listener clean up more effectively

This commit is contained in:
Wyatt 2017-10-11 13:18:46 -04:00
parent 67d38a06c4
commit 0cd8e447c4

View File

@ -1,9 +1,9 @@
#! /bin/bash
# Restart the cluster process
sleep 2
sleep 4
while true; do
export CLUSTER_SECRET=""
pgrep ipfs-cluster-service || echo "CLUSTER RESTARTED"; ipfs-cluster-service --debug &
pgrep ipfs-cluster-service || echo "CLUSTER RESTARTING"; ipfs-cluster-service --debug &
sleep 10
done