From cb7fb45edb762b621fcac124445a9aa757927f0d Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Dec 2025 21:01:38 +0100 Subject: [PATCH] Fix service name mismatch between librespeed-rust install and update scripts (#9628) * Initial plan * Fix service name inconsistency - use librespeed-rs for both install and update Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- ct/librespeed-rust.sh | 4 ++-- install/librespeed-rust-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/librespeed-rust.sh b/ct/librespeed-rust.sh index c9170493ba..3d4c4d2771 100644 --- a/ct/librespeed-rust.sh +++ b/ct/librespeed-rust.sh @@ -30,13 +30,13 @@ function update_script() { if check_for_gh_release "librespeed-rust" "librespeed/speedtest-rust"; then msg_info "Stopping Services" - systemctl stop librespeed_rs + systemctl stop librespeed-rs msg_ok "Services Stopped" fetch_and_deploy_gh_release "librespeed-rust" "librespeed/speedtest-rust" "binary" "latest" "/opt/librespeed-rust" "librespeed-rs-x86_64-unknown-linux-gnu.deb" msg_info "Starting Service" - systemctl start librespeed_rs + systemctl start librespeed-rs msg_ok "Started Service" msg_ok "Updated successfully!" fi diff --git a/install/librespeed-rust-install.sh b/install/librespeed-rust-install.sh index a2c0d2c7f9..27b3ae1fe0 100644 --- a/install/librespeed-rust-install.sh +++ b/install/librespeed-rust-install.sh @@ -16,7 +16,7 @@ update_os fetch_and_deploy_gh_release "librespeed-rust" "librespeed/speedtest-rust" "binary" "latest" "/opt/librespeed-rust" "librespeed-rs-x86_64-unknown-linux-gnu.deb" msg_info "Enabling Service" -systemctl enable -q --now speedtest_rs +systemctl enable -q --now librespeed-rs msg_ok "Enabled Service" motd_ssh