mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 08:05:57 +02:00
Merge pull request #2088 from alexbelgium/codex/resolve-github-issue-1927-comment-3263763686
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)
|
## 2025.08.23 (25-08-2025)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
## 2025.08.22 (24-08-2025)
|
## 2025.08.22 (24-08-2025)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ fi
|
|||||||
|
|
||||||
# Allow pulseaudio system
|
# Allow pulseaudio system
|
||||||
echo "... allow pulseaudio as root as backup"
|
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
|
# Send services log to container logs
|
||||||
echo "... redirecting services logs to container logs"
|
echo "... redirecting services logs to container logs"
|
||||||
|
|||||||
Reference in New Issue
Block a user