From 0a2d718f74a80f59c80f66a226e586e3068ab022 Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Fri, 31 May 2024 22:59:34 +0300 Subject: [PATCH] install cpulimit --- install/install.sh | 1 + update.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/install/install.sh b/install/install.sh index f2fa66b..237f159 100644 --- a/install/install.sh +++ b/install/install.sh @@ -123,6 +123,7 @@ Description=Ceremony Client Go App Service Type=simple Restart=always RestartSec=5s + WorkingDirectory=$NODE_PATH ExecStart=$EXEC_START diff --git a/update.sh b/update.sh index 7052faf..add0ed4 100644 --- a/update.sh +++ b/update.sh @@ -10,6 +10,8 @@ sleep 10 # Add a 10-second delay # Stop the ceremonyclient service service ceremonyclient stop +apt install cpulimit -y + # Step 1:Download Binary echo "⏳ Downloading New Release v1.4.18" cd ~/ceremonyclient