2017-09-21 23:05:25 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
# Restart the cluster process
|
|
|
|
sleep 2
|
|
|
|
while true; do
|
|
|
|
export CLUSTER_SECRET=""
|
2017-10-11 15:09:39 +00:00
|
|
|
pgrep ipfs-cluster-service || echo "CLUSTER RESTARTED"; ipfs-cluster-service --debug &
|
2017-09-21 23:05:25 +00:00
|
|
|
sleep 10
|
|
|
|
done
|