mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
Check for existing lbrycrd folder
This commit is contained in:
parent
0647b2666d
commit
156ae3b7a9
1 changed files with 6 additions and 3 deletions
|
@ -860,9 +860,12 @@ cd ~ || exit
|
||||||
wget https://github.com/lbryio/lbrycrd/releases/download/v0.17.3.3/lbrycrd-linux-1733.zip
|
wget https://github.com/lbryio/lbrycrd/releases/download/v0.17.3.3/lbrycrd-linux-1733.zip
|
||||||
sudo unzip lbrycrd-linux-1733.zip -d /usr/bin
|
sudo unzip lbrycrd-linux-1733.zip -d /usr/bin
|
||||||
|
|
||||||
lbrycrdd -daemon -server
|
# Make sure the working area of the lbrycrdd does exist by starting the daemon for some seconds
|
||||||
sleep 3
|
if [[ ! -d ~/.lbrycrd ]]; then
|
||||||
lbrycrd-cli stop
|
lbrycrdd -daemon -server
|
||||||
|
sleep 3
|
||||||
|
lbrycrd-cli stop
|
||||||
|
fi
|
||||||
|
|
||||||
# Create config for Lbry
|
# Create config for Lbry
|
||||||
echo && echo "Configuring Lbrycrd.conf"
|
echo && echo "Configuring Lbrycrd.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue