From 05d872f365ea22f54814c4bf577abf9165f44989 Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sat, 25 May 2024 10:43:28 +0300 Subject: [PATCH] other architectures added --- updateV1.4.18.sh => updateAmd64.sh | 4 +-- updateDarwinArm64.sh | 48 ++++++++++++++++++++++++++++++ updateLinuxArm64.sh | 48 ++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 2 deletions(-) rename updateV1.4.18.sh => updateAmd64.sh (94%) create mode 100644 updateDarwinArm64.sh create mode 100644 updateLinuxArm64.sh diff --git a/updateV1.4.18.sh b/updateAmd64.sh similarity index 94% rename from updateV1.4.18.sh rename to updateAmd64.sh index f7d1764..485c978 100644 --- a/updateV1.4.18.sh +++ b/updateAmd64.sh @@ -11,9 +11,9 @@ service ceremonyclient stop # Step 1:Download Binary echo "⏳ Downloading New Release v1.4.18" +cd ~/ceremonyclient git pull git checkout release -mv node-1.4.18-linux-amd64 node # Step 3:Re-Create Ceremonyclient Service echo "⏳ Re-Creating Ceremonyclient Service" @@ -28,7 +28,7 @@ Type=simple Restart=always RestartSec=5s WorkingDirectory=/root/ceremonyclient/node -ExecStart=/root/ceremonyclient/node/node +ExecStart=/root/ceremonyclient/node/node-1.4.18-linux-amd64 [Install] WantedBy=multi-user.target diff --git a/updateDarwinArm64.sh b/updateDarwinArm64.sh new file mode 100644 index 0000000..f6a0976 --- /dev/null +++ b/updateDarwinArm64.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +# Step 0: Welcome +echo "This script is made with ❤️ by 0xOzgur.eth" +echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v1.4.18!" +echo "⏳Processing..." +sleep 10 # Add a 10-second delay + +# Stop the ceremonyclient service +service ceremonyclient stop + +# Step 1:Download Binary +echo "⏳ Downloading New Release v1.4.18" +cd ~/ceremonyclient +git pull +git checkout release + +# Step 3:Re-Create Ceremonyclient Service +echo "⏳ Re-Creating Ceremonyclient Service" +sleep 2 # Add a 2-second delay +rm /lib/systemd/system/ceremonyclient.service +sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null < /dev/null <