|
@@ -3,7 +3,7 @@ set -e
|
|
|
|
|
|
|
|
export IPFS_PATH=/home/ipfs/.ipfs
|
|
export IPFS_PATH=/home/ipfs/.ipfs
|
|
|
|
|
|
|
|
-ipfs version
|
|
|
|
|
|
|
+# ipfs version
|
|
|
|
|
|
|
|
if [ -e "$IPFS_PATH/config" ]; then
|
|
if [ -e "$IPFS_PATH/config" ]; then
|
|
|
echo "Found IPFS fs-repo at $IPFS_PATH"
|
|
echo "Found IPFS fs-repo at $IPFS_PATH"
|
|
@@ -15,4 +15,6 @@ else
|
|
|
ipfs config Addresses.API "/ip4/0.0.0.0/tcp/5001"
|
|
ipfs config Addresses.API "/ip4/0.0.0.0/tcp/5001"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+ipfs version
|
|
|
|
|
+
|
|
|
exec ipfs daemon --migrate=true --enable-pubsub-experiment --enable-namesys-pubsub
|
|
exec ipfs daemon --migrate=true --enable-pubsub-experiment --enable-namesys-pubsub
|