From dbb7064a8e4a8927a1cff2de206c71605f9eab3c Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Thu, 30 May 2024 15:31:04 +0300 Subject: [PATCH] added arm64 update for scalept --- update_arm64.sh | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 update_arm64.sh diff --git a/update_arm64.sh b/update_arm64.sh new file mode 100644 index 0000000..a1037e1 --- /dev/null +++ b/update_arm64.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +# 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 pull +git checkout release + +# 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-1.4.18-linux-amd64" + +# Step 3:Re-Create Ceremonyclient Service +rm /lib/systemd/system/ceremonyclient.service +sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <