Installing binary and start script

This commit is contained in:
0xOzgur 2024-05-18 18:04:43 +03:00
parent 62719c0b15
commit 8d6ba41cc0
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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
./node