mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-09 04:05:26 +00:00
mediamtx: keep mediamtx.yml across updates (#17069)
This commit is contained in:
@@ -37,7 +37,9 @@ function update_script() {
|
|||||||
systemctl stop mediamtx
|
systemctl stop mediamtx
|
||||||
msg_ok "Service stopped"
|
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"
|
fetch_and_deploy_gh_release "mediamtx" "bluenviron/mediamtx" "prebuild" "latest" "/opt/mediamtx" "mediamtx*linux_$(arch_resolve).tar.gz"
|
||||||
|
restore_backup
|
||||||
|
|
||||||
msg_info "Starting service"
|
msg_info "Starting service"
|
||||||
systemctl start mediamtx
|
systemctl start mediamtx
|
||||||
|
|||||||
Reference in New Issue
Block a user