Touching up cluster restart to wait for listener clean up more effectively
This commit is contained in:
parent
67d38a06c4
commit
0cd8e447c4
|
@ -1,9 +1,9 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# Restart the cluster process
|
# Restart the cluster process
|
||||||
sleep 2
|
sleep 4
|
||||||
while true; do
|
while true; do
|
||||||
export CLUSTER_SECRET=""
|
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
|
sleep 10
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user