it's IPFS_PATH not IPFS_DIR
This commit is contained in:
parent
dcf4107278
commit
4ec63ac2ef
@ -7,11 +7,11 @@ export HOME="/home/ipfs"
|
||||
chown ipfs:ipfs $HOME
|
||||
cd $HOME
|
||||
|
||||
export IPFS_DIR=/var/lib/ipfs
|
||||
export IPFS_PATH=/var/lib/ipfs
|
||||
|
||||
if [[ ! -d $IPFS_DIR ]]; then
|
||||
mkdir -p $IPFS_DIR
|
||||
chown ipfs:ipfs $IPFS_DIR
|
||||
if [[ ! -d $IPFS_PATH ]]; then
|
||||
mkdir -p $IPFS_PATH
|
||||
chown ipfs:ipfs $IPFS_PATH
|
||||
chpst -u ipfs $IPFS init
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user