Fix update for older installs (#4612)

This commit is contained in:
Slaviša Arežina
2025-05-21 08:02:03 +02:00
committed by GitHub
parent 7d40ee4aa9
commit 1baa841963

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}"