hop
This commit is contained in:
parent
22bf21a6d7
commit
60824276fb
|
@ -37,12 +37,8 @@ ipfs_install() {
|
||||||
|
|
||||||
|
|
||||||
if [[ ! -f /etc/systemd/system/ipfs.service ]]; then
|
if [[ ! -f /etc/systemd/system/ipfs.service ]]; then
|
||||||
echo "CREATE SYSTEMD ipfs SERVICE"
|
|
||||||
sudo cp -f $BASE_DIR/ipfs.service /etc/systemd/system/
|
|
||||||
sudo sed -i "s/_USER/$USER/g" /etc/systemd/system/ipfs.service
|
|
||||||
|
|
||||||
echo "CREATE SYSTEMD ipfs SERVICE"
|
echo "CREATE SYSTEMD ipfs SERVICE"
|
||||||
[[ -f /etc/systemd/system/ipfs.service ]] && sudo rm /etc/systemd/system/ipfs.service
|
|
||||||
sudo cp -f $templates/ipfs.service /etc/systemd/system/
|
sudo cp -f $templates/ipfs.service /etc/systemd/system/
|
||||||
sudo sed -i "s/_USER/$USER/g" /etc/systemd/system/ipfs.service
|
sudo sed -i "s/_USER/$USER/g" /etc/systemd/system/ipfs.service
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue