From 62719c0b159e2bb7f3fa6595882e3701e80ca096 Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sat, 18 May 2024 17:33:14 +0300 Subject: [PATCH] Installing binary and start script --- install_binary.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 install_binary.sh diff --git a/install_binary.sh b/install_binary.sh new file mode 100644 index 0000000..b5bf6dc --- /dev/null +++ b/install_binary.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +# Download Ceremonyclient +echo "Downloading Ceremonyclient" +sleep 2 # Add a 2-second delay +git clone https://github.com/QuilibriumNetwork/ceremonyclient.git + +cd ~/ceremonyclient/node + +# Download Binary +echo "Downloading Binary" +sleep 2 # Add a 2-second delay +wget https://github.com/QuilibriumNetwork/ceremonyclient/releases/download/v1.4.17/node-1.4.17-linux-amd64.bin + +# Make the file executable +echo "Making the Binary executable" +sleep 2 # Add a 2-second delay +chmod +x node-1.4.17-linux-amd64.bin + +# Create Ceremonyclient Service +echo "Creating Ceremonyclient Service" +sleep 1 # Add a 1-second delay +sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <