mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-07 22:36:45 +00:00
mediamtx: keep mediamtx.yml across updates (#17069)
This commit is contained in:
committed by
GitHub
parent
960e50f428
commit
f6185c0b1d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user