-> IPFS on VPS <-

change default init after having issues with hoster
-> https://github.com/ipfs/go-ipfs/issues/4343
This commit is contained in:
6543 2018-02-23 01:51:37 +01:00
parent 7674f0a29c
commit 3be7181f0f
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ chmod 770 $AIM
chown ipfs:ipfs $AIM

## init ipfs
su ipfs -c "ipfs init"
su ipfs -c "ipfs init --profile=server"
#If you're not running ipfs in a hosted environment, use ipfs init"
sed -i 's/127.0.0.1/0.0.0.0/g' /var/spool/ipfs/.ipfs/config

#go back and delete temp