set cluster secret to empty in restart
This commit is contained in:
parent
025709fe7f
commit
e533eb74f3
9
docker/cluster-restart.sh
Executable file
9
docker/cluster-restart.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
# Restart the cluster process
|
||||
sleep 2
|
||||
while true; do
|
||||
export CLUSTER_SECRET=""
|
||||
pgrep ipfs-cluster-service || ipfs-cluster-service -f init; echo "CLUSTER RESTARTED"; ipfs-cluster-service --debug &
|
||||
sleep 10
|
||||
done
|
Loading…
Reference in New Issue
Block a user