[install] Try to fix permission for ipfs
This commit is contained in:
parent
b8d73a60dc
commit
5348b4f1dd
|
@ -76,6 +76,8 @@ EOF
|
|||
sudo cp -f /tmp/ipfs.service /etc/systemd/system/
|
||||
sudo sed -i "s/_USER_/$USER/g" /etc/systemd/system/ipfs.service
|
||||
|
||||
[[ -d ~/.ipfs ]] && sudo chown -R $USER:$USER ~/.ipfs
|
||||
|
||||
sudo systemctl daemon-reload || err "Restart IPFS"
|
||||
sudo systemctl enable ipfs || err "Enable IPFS daemon"
|
||||
|
||||
|
|
Loading…
Reference in New Issue