Fix update for older installs (#4612)

This commit is contained in:
Slaviša Arežina authored and GitHub committed 2025-05-21 08:02:03 +02:00
1 parent 7d40ee4aa9
commit 1baa841963
1 file changed
+3 -1
+3 -1
View File
@@ -38,7 +38,9 @@ function update_script() {
msg_info "Stopping $APP"
systemctl stop rustdesk-hbbr
systemctl stop rustdesk-hbbs
systemctl stop rustdesk-api
if [[ -f /lib/systemd/system/rustdesk-api.service ]]; then
systemctl stop rustdesk-api
fi
msg_ok "Stopped $APP"
msg_info "Updating $APP to v${RELEASE}"