mediamtx: keep mediamtx.yml across updates

This commit is contained in:
MickLesk
2026-09-07 09:58:38 +02:00
parent da6bccfe25
commit 90d3bd10c0

View File

@@ -37,7 +37,9 @@ function update_script() {
systemctl stop mediamtx
msg_ok "Service stopped"
create_backup /opt/mediamtx/mediamtx.yml
fetch_and_deploy_gh_release "mediamtx" "bluenviron/mediamtx" "prebuild" "latest" "/opt/mediamtx" "mediamtx*linux_$(arch_resolve).tar.gz"
restore_backup
msg_info "Starting service"
systemctl start mediamtx