enable ipfs initV service autostart

master
qo-op 2 years ago
parent 9201f2b523
commit 47c39cc42e
  1. 8
      install.sh

@ -33,8 +33,14 @@ echo "Setup AstrXbian"
sudo sed -i "s/auth.log/faillog/g" /etc/fail2ban/paths-common.conf
##
echo "enable ipfs service autostart"
echo "enable ipfs initV service autostart"
cd /etc/rc2.d && sudo ln -s ../init.d/ipfs S02ipfs
cd /etc/rc3.d && sudo ln -s ../init.d/ipfs S02ipfs
cd /etc/rc4.d && sudo ln -s ../init.d/ipfs S02ipfs
cd /etc/rc5.d && sudo ln -s ../init.d/ipfs S02ipfs
cd /etc/rc0.d && sudo ln -s ../init.d/ipfs K01ipfs
cd /etc/rc1.d && sudo ln -s ../init.d/ipfs K01ipfs
cd /etc/rc6.d && sudo ln -s ../init.d/ipfs K01ipfs
sudo ipfs restart

Loading…
Cancel
Save