mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Add group audio
https://github.com/alexbelgium/hassio-addons/issues/1991#issuecomment-3149639000
This commit is contained in:
@@ -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 && \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user