From f6185c0b1d15e988dfbf34d8dd23ccade4497972 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 7 Sep 2026 12:51:42 +0200 Subject: [PATCH] mediamtx: keep mediamtx.yml across updates (#17069) --- ct/mediamtx.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ct/mediamtx.sh b/ct/mediamtx.sh index f96450b81..035a3a3b0 100644 --- a/ct/mediamtx.sh +++ b/ct/mediamtx.sh @@ -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