Branch update for v.1.4.19

This commit is contained in:
0xOzgur 2024-06-08 13:44:51 +03:00
parent e0120dac9c
commit 240e1cfc8d
7 changed files with 56 additions and 7 deletions

View File

@ -116,7 +116,7 @@ else
done
fi
cd ~/ceremonyclient/
git checkout release
git checkout release-cdn
# Build Ceremonyclient qClient
echo "⏳Building qCiient"

View File

@ -55,7 +55,7 @@ echo "⏳Downloading Ceremonyclient"
sleep 2 # Add a 2-second delay
git clone https://source.quilibrium.com/quilibrium/ceremonyclient.git
cd ~/ceremonyclient
git checkout release
git checkout release-cdn
# Step 7:Build Docker Container
echo "⏳Building Ceremonyclient Container"

View File

@ -83,7 +83,7 @@ else
fi
cd ~/ceremonyclient/
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git || git remote set-url origin https://git.quilibrium-mirror.ch/agostbiro/ceremonyclient.git
git checkout release
git checkout release-cdn
# Set the version number
VERSION="1.4.19"

View File

@ -169,7 +169,7 @@ else
fi
cd ~/ceremonyclient/
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git || git remote set-url origin https://git.quilibrium-mirror.ch/agostbiro/ceremonyclient.git
git checkout release
git checkout release-cdn
@ -294,7 +294,7 @@ echo "⏳ Downloading New Release v$VERSION"
cd ~/ceremonyclient
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git || git remote set-url origin https://git.quilibrium-mirror.ch/agostbiro/ceremonyclient.git
git pull
git checkout release
git checkout release-cdn
# Get the current user's home directory
HOME=$(eval echo ~$HOME_DIR)

View File

@ -18,7 +18,7 @@ echo "⏳ Downloading New Release v1.4.19"
cd ~/ceremonyclient
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git || git remote set-url origin https://git.quilibrium-mirror.ch/agostbiro/ceremonyclient.git
git pull
git checkout release
git checkout release-cdn
# Get the current user's home directory
HOME=$(eval echo ~$HOME_DIR)

View File

@ -13,7 +13,7 @@ service ceremonyclient stop
echo "⏳ Downloading New Release v1.4.19"
cd ~/ceremonyclient
git pull
git checkout release
git checkout release-cdn
# Step 7:Build Docker Container
echo "⏳Building Ceremonyclient Container"

49
update_arm64.sh Normal file
View File

@ -0,0 +1,49 @@
#!/bin/bash
# Set the version number
VERSION="1.4.18"
# Step 0: Welcome
echo "This script is made with ❤️ by https://quilibrium.space @ 0xOzgur.eth for scalepod.io"
sleep 2 # Add a 2-second delay
# Stop the ceremonyclient service
service ceremonyclient stop
# Step 1:Download Binary
cd ~/ceremonyclient
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git
git pull
git checkout release-cdn
# Get the current user's home directory
HOME=$(eval echo ~$HOME_DIR)
# Use the home directory in the path
NODE_PATH="$HOME/ceremonyclient/node"
EXEC_START="$NODE_PATH/node-$VERSION-linux-arm64"
# Step 3:Re-Create Ceremonyclient Service
rm /lib/systemd/system/ceremonyclient.service
sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <<EOF
[Unit]
Description=Ceremony Client Go App Service
[Service]
Type=simple
Restart=always
RestartSec=5s
WorkingDirectory=$NODE_PATH
ExecStart=$EXEC_START
[Install]
WantedBy=multi-user.target
EOF
# Step 3: Update the ExecStart line in the Ceremonyclient Service file
# sudo sed -i "s|ExecStart=.*|ExecStart=$EXEC_START|" /lib/systemd/system/ceremonyclient.service
# Step 4:Start the ceremonyclient service
sudo systemctl daemon-reload
sudo systemctl enable ceremonyclient
sudo service ceremonyclient start