| 1234567891011121314151617 |
- #!/bin/sh
- set -e
- export IPFS_PATH=/home/ipfs/.ipfs
- ipfs version
- if [ -e "$IPFS_PATH/config" ]; then
- echo "Found IPFS fs-repo at $IPFS_PATH"
- else
- ipfs init
- ipfs config --json Experimental.FilestoreEnabled true
- ipfs bootstrap rm --all
- fi
- exec ipfs daemon --enable-pubsub-experiment
|