fix(node-red): restart service after update (#12621)

This commit is contained in:
Aurélien
2026-03-06 20:43:58 +01:00
committed by GitHub
parent 039d046649
commit b7a09989cb

View File

@@ -31,6 +31,10 @@ function update_script() {
msg_info "Updating Node-RED"
$STD npm install -g --unsafe-perm node-red
msg_ok "Updated Node-RED"
msg_info "Restarting Node-RED"
$STD rc-service nodered restart
msg_ok "Restarted Node-RED"
msg_ok "Updated successfully!"
exit 0
}