diff --git a/busch_radio_spotify/run.sh b/busch_radio_spotify/run.sh index 44bad32..8168b5a 100644 --- a/busch_radio_spotify/run.sh +++ b/busch_radio_spotify/run.sh @@ -27,8 +27,10 @@ bashio::log.info "Bitrate : ${BITRATE} kbps" bashio::log.info "Stream-Port : ${STREAM_PORT}" bashio::log.info "Stream-Pfad : ${STREAM_MOUNT}" -# ── Verzeichnisse anlegen ───────────────────────────────────────────────────── +# ── Verzeichnisse anlegen + Berechtigungen für nobody-User setzen ──────────── +# Icecast läuft im Container als root, wechselt aber via changeowner zu nobody. mkdir -p /var/log/icecast /run/icecast /tmp/busch-radio +chown -R nobody:nobody /var/log/icecast /run/icecast /tmp/busch-radio # ── Icecast-Webroot ermitteln ───────────────────────────────────────────────── # Alpine und Debian legen Icecast in unterschiedliche Pfade @@ -109,6 +111,11 @@ cat > /tmp/busch-radio/icecast.xml < 0 + + + nobody + nobody + ICECAST_EOF