mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
fix: improve pulseaudio start for standalone
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
## 2025.09.07 (07-09-2025)
|
||||
- Improve pulseaudio start when running container standalone
|
||||
## 2025.08.23 (25-08-2025)
|
||||
- Minor bugs fixed
|
||||
## 2025.08.22 (24-08-2025)
|
||||
|
||||
@@ -84,7 +84,7 @@ fi
|
||||
|
||||
# Allow pulseaudio system
|
||||
echo "... allow pulseaudio as root as backup"
|
||||
sed -i 's#pulseaudio --start#su - pi -c "pulseaudio --start"#g' "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||
sed -i 's#pulseaudio --start#pulseaudio --start 2>/dev/null && pulseaudio --check || pulseaudio --system#g' "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||
|
||||
# Send services log to container logs
|
||||
echo "... redirecting services logs to container logs"
|
||||
|
||||
Reference in New Issue
Block a user