From 90d3bd10c011f2f15f450a1131004a60abf0ee77 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Mon, 7 Sep 2026 09:58:38 +0200 Subject: [PATCH] mediamtx: keep mediamtx.yml across updates --- 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