Pulling in secret awareness
This commit is contained in:
commit
5924219281
|
@ -3,6 +3,7 @@
|
|||
# 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
|
||||
|
|
|
@ -41,6 +41,7 @@ ipfs-cluster-service --version
|
|||
if [ -e "$IPFS_CLUSTER_PATH/service.json" ]; then
|
||||
echo "Found IPFS cluster configuration at $IPFS_CLUSTER_PATH"
|
||||
else
|
||||
export CLUSTER_SECRET=""
|
||||
ipfs-cluster-service init
|
||||
sed -i 's/127\.0\.0\.1\/tcp\/9094/0.0.0.0\/tcp\/9094/' "$IPFS_CLUSTER_PATH/service.json"
|
||||
sed -i 's/127\.0\.0\.1\/tcp\/9095/0.0.0.0\/tcp\/9095/' "$IPFS_CLUSTER_PATH/service.json"
|
||||
|
|
Loading…
Reference in New Issue
Block a user