mediamtx: keep mediamtx.yml across updates (#17069)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-07 12:51:42 +02:00
committed by GitHub
parent 960e50f428
commit f6185c0b1d

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