Fix update for older installs (#4612)
This commit is contained in:
parent
7d40ee4aa9
commit
1baa841963
@ -38,7 +38,9 @@ function update_script() {
|
|||||||
msg_info "Stopping $APP"
|
msg_info "Stopping $APP"
|
||||||
systemctl stop rustdesk-hbbr
|
systemctl stop rustdesk-hbbr
|
||||||
systemctl stop rustdesk-hbbs
|
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_ok "Stopped $APP"
|
||||||
|
|
||||||
msg_info "Updating $APP to v${RELEASE}"
|
msg_info "Updating $APP to v${RELEASE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user