ipfs stuff

This commit is contained in:
qo-op 2020-12-14 00:32:04 +01:00
parent 8539b23940
commit 701c052cc0
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ if [[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | ta
echo "ipfs daemon already running...! Must STOP ipfs AND remove ~/.ipfs to install again !!"
ipfs id && echo "ipfs swarm peers: " && ipfs swarm peers
echo "ipfs bootstrap list: " && ipfs bootstrap list
echo "Please RUN : sudo systemctl stop ipfs"
echo "Please RUN : sudo service ipfs stop"
exit 1
fi
@ -59,7 +59,7 @@ echo "INSTALL ipfs 0.7.0 >>>>>>>>>>>>>>>>>>>>>>>>>>"
sudo ipfs-update install 0.7.0 || err "Install IPFS"
## Special Xbian init.d config
if [[ -f ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh ]]; then
if [[ -f ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh ]]; then
sudo cp ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh /etc/init.d/ipfs
sudo chmod 755 /etc/init.d/ipfs
sudo touch /var/log/ipfs.log && sudo chown xbian /var/log/ipfs.log

View File

@ -7,7 +7,7 @@ sudo apt install git fail2ban curl net-tools libsodium23 libsodium-dev python3-d
pip3 install cryptography Ed25519 base58 google protobuf
# git clone astrXbian
mkdir ~/.zen
mkdir -p ~/.zen
cd ~/.zen
git clone https://git.p2p.legal/axiom-team/astrXbian.git
########################################################################