From 8d6ba41cc0876c0cf92be8f8474af9b5f0af89ac Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sat, 18 May 2024 18:04:43 +0300 Subject: [PATCH] Installing binary and start script --- Install_Quilibrium_Service.sh | 2 ++ README.md | 1 + install_binary.sh | 8 +++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Install_Quilibrium_Service.sh b/Install_Quilibrium_Service.sh index abab8b7..de53a6f 100644 --- a/Install_Quilibrium_Service.sh +++ b/Install_Quilibrium_Service.sh @@ -92,4 +92,6 @@ sleep 1 # Add a 1-second delay service ceremonyclient start # See the logs of the ceremonyclient service +echo "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 diff --git a/README.md b/README.md index f0014c0..f825c65 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # QuilibriumAutoInstaller Autoinstaller Script for Quilibrium as a Service +Do not forget go make source ~/.bashrc and check go version after installation. \ No newline at end of file diff --git a/install_binary.sh b/install_binary.sh index b5bf6dc..85fe78e 100644 --- a/install_binary.sh +++ b/install_binary.sh @@ -11,11 +11,13 @@ cd ~/ceremonyclient/node 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 +ls +mv node*.bin node # 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 +chmod +x node # Create Ceremonyclient Service echo "Creating Ceremonyclient Service" @@ -30,7 +32,7 @@ Restart=always RestartSec=5s WorkingDirectory=/root/ceremonyclient/node Environment=GOEXPERIMENT=arenas -ExecStart=/root/go/bin/node ./... +ExecStart=/root/go/bin/node/node ./... [Install] WantedBy=multi-user.target @@ -39,4 +41,4 @@ EOF # Run the node echo "Running the node" sleep 2 # Add a 2-second delay -./node-1.4.17-linux-amd64.bin \ No newline at end of file +./node \ No newline at end of file