[Install] Fix ipfs user permissions
This commit is contained in:
parent
16d34f08e4
commit
95088fd166
|
@ -80,10 +80,11 @@ sudo systemctl daemon-reload || err "Restart IPFS"
|
|||
sudo systemctl enable ipfs || err "Enable IPFS daemon"
|
||||
|
||||
# INIT ipfs
|
||||
sudo chown -R $USER:$USER ~/.ipfs || exit 1
|
||||
[[ $isLAN ]] && ipfs init -p lowpower \
|
||||
|| ipfs init -p server
|
||||
|
||||
sudo chown -R $USER:$USER ~/.ipfs || exit 1
|
||||
|
||||
###########################################
|
||||
# ACTIVATE IPFS OPTIONS: #swarm0 INIT
|
||||
###########################################
|
||||
|
|
Loading…
Reference in New Issue