always copy mmtx config. should be universsal.

This commit is contained in:
legop3
2025-11-14 01:16:09 -05:00
parent 1adaf6c5f6
commit 87ac9540fe
+2 -2
View File
@@ -63,8 +63,8 @@ tar -xzf "$tmpdir/mediamtx.tgz" -C "$tmpdir" mediamtx
install -m 0755 "$tmpdir/mediamtx" "$MEDIAMTX_BIN" install -m 0755 "$tmpdir/mediamtx" "$MEDIAMTX_BIN"
mkdir -p "$MEDIAMTX_CONF_DIR" mkdir -p "$MEDIAMTX_CONF_DIR"
if [[ ! -f "$MEDIAMTX_CONFIG" ]]; then # if [[ ! -f "$MEDIAMTX_CONFIG" ]]; then
cat > "$MEDIAMTX_CONFIG" <<'CFG' cat > "$MEDIAMTX_CONFIG" <<'CFG'
logLevel: info logLevel: info
api: yes api: yes
apiAddress: 0.0.0.0:9997 apiAddress: 0.0.0.0:9997