Skip to content

Commit 1bd2b14

Browse files
committed
fix(librespeed-rs): use correct service name
The correct service name for librespeed is `speedtest_rs`. This commit fixes the service name across both install and update scripts. Related to #9626.
1 parent 64407df commit 1bd2b14

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 speedtest_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 speedtest_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 librespeed-rs
19+
systemctl enable -q --now speedtest_rs
2020
msg_ok "Enabled Service"
2121

2222
motd_ssh

0 commit comments

Comments
 (0)