Standardize update success messages in scripts (#8757)

This commit is contained in:
CanbiZ
2025-10-30 09:24:16 -07:00
committed by GitHub
parent e900367b51
commit be7d0704d7
357 changed files with 1296 additions and 1217 deletions

View File

@@ -27,13 +27,14 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating Shinobi LXC"
msg_info "Updating Shinobi"
cd /opt/Shinobi
sh UPDATE.sh
pm2 flush
pm2 restart camera
pm2 restart cron
msg_ok "Updated Shinobi LXC"
$STD sh UPDATE.sh
$STD pm2 flush
$STD pm2 restart camera
$STD pm2 restart cron
msg_ok "Updated Shinobi"
msg_ok "Updated successfully!"
exit
}