Skip to content

Commit cb7fb45

Browse files
CopilotMickLesk
andauthored
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 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MickLesk <[email protected]>
1 parent 462b686 commit cb7fb45

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ct/librespeed-rust.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ function update_script() {
3030

3131
if check_for_gh_release "librespeed-rust" "librespeed/speedtest-rust"; then
3232
msg_info "Stopping Services"
33-
systemctl stop librespeed_rs
33+
systemctl stop librespeed-rs
3434
msg_ok "Services Stopped"
3535

3636
fetch_and_deploy_gh_release "librespeed-rust" "librespeed/speedtest-rust" "binary" "latest" "/opt/librespeed-rust" "librespeed-rs-x86_64-unknown-linux-gnu.deb"
3737

3838
msg_info "Starting Service"
39-
systemctl start librespeed_rs
39+
systemctl start librespeed-rs
4040
msg_ok "Started Service"
4141
msg_ok "Updated successfully!"
4242
fi

install/librespeed-rust-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ update_os
1616
fetch_and_deploy_gh_release "librespeed-rust" "librespeed/speedtest-rust" "binary" "latest" "/opt/librespeed-rust" "librespeed-rs-x86_64-unknown-linux-gnu.deb"
1717

1818
msg_info "Enabling Service"
19-
systemctl enable -q --now speedtest_rs
19+
systemctl enable -q --now librespeed-rs
2020
msg_ok "Enabled Service"
2121

2222
motd_ssh

0 commit comments

Comments
 (0)