From 4f6c5f06a27e8676ef83eeb7f7f750081bf76d5d Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sun, 26 May 2024 16:22:35 +0300 Subject: [PATCH] Branch for scalepod --- install/install_quilibrium_service.sh | 3 ++- update.sh | 24 ++++-------------------- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/install/install_quilibrium_service.sh b/install/install_quilibrium_service.sh index bc7435b..44549f9 100644 --- a/install/install_quilibrium_service.sh +++ b/install/install_quilibrium_service.sh @@ -2,8 +2,9 @@ cd ~ # Step 0: Welcome -echo "This script is made with ❤️ by 0xOzgur.eth" +echo "This script is made with ❤️ by https://quilibrium.space @ 0xOzgur.eth" echo "The script is prepared for Ubuntu machines. If you are using another operating system, please check the compatibility of the script." +echo "The script doesn't install GO or GrpCurl packages. If you want to install them please visit https://docs.quilibrium.space/installing-prerequisites page." echo "⏳Enjoy and sit back while you are building your Quilibrium Node!" echo "⏳Processing..." sleep 10 # Add a 10-second delay diff --git a/update.sh b/update.sh index 31d8b46..42e9f7e 100644 --- a/update.sh +++ b/update.sh @@ -1,17 +1,13 @@ #!/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 "The script is prepared for Ubuntu machines. If you are using another operating system, please check the compatibility of the script." -echo "⏳Processing..." -sleep 10 # Add a 10-second delay +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 -echo "⏳ Downloading New Release v1.4.18" cd ~/ceremonyclient git pull git checkout release @@ -37,22 +33,10 @@ else exit 1 fi -# Step 3:Re-Create Ceremonyclient Service -echo "⏳ Re-Creating Ceremonyclient Service" -sleep 2 # Add a 2-second delay - -# Update the ExecStart line in the service file +# 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 -echo "✅ Starting Ceremonyclient Service" -sleep 2 # Add a 2-second delay sudo systemctl daemon-reload sudo systemctl enable ceremonyclient -sudo service ceremonyclient start - -# See the logs of the ceremonyclient service -echo "🎉 Welcome to Quilibrium Ceremonyclient v1.4.18" -echo "⏳ Please let it flow node logs at least 5 minutes then you can press CTRL + C to exit the logs." -sleep 5 # Add a 5-second delay -sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat \ No newline at end of file +sudo service ceremonyclient start \ No newline at end of file