Alexandre
2025-08-04 10:39:44 +02:00
committed by GitHub
parent e75c504b1e
commit 2b88a7c128

View File

@@ -110,6 +110,9 @@ RUN \
# Give access to caddy for files owned by the user, to allow files modification
groupmod -o -g 1000 caddy && usermod -o -u 1000 caddy && \
\
# Give access to audio group
groupmod -o -g 1000 audio && usermod -o -u 1000 audio && \
\
# Ensure always pi is used
grep -srl "/etc/passwd" "$HOME/BirdNET-Pi/" | while IFS= read -r file; do sed -i "s=/etc/passwd=/etc/passwd | head -1=g" "$file"; done && \
\