mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 08:31:01 +01:00
update
This commit is contained in:
@@ -41,8 +41,9 @@ RUN \
|
||||
\
|
||||
# Ensure permissions
|
||||
echo "setting permissions" && \
|
||||
chown -R 1000:1000 /home/pi && \
|
||||
echo "pi ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||
mkdir -p /home/pi/.config/matplotlib && \
|
||||
chown -R 1000:1000 /home/pi && \
|
||||
\
|
||||
# Download installer
|
||||
curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \
|
||||
|
||||
@@ -76,7 +76,10 @@
|
||||
"80/tcp": 80
|
||||
},
|
||||
"ports_description": {
|
||||
"80/tcp": "web ui"
|
||||
"80/tcp": "web ui",
|
||||
"8888/tcp": "web terminal",
|
||||
"8080/tcp": "log",
|
||||
"8501/tcp": "streamlit"
|
||||
},
|
||||
"privileged": [
|
||||
"SYS_ADMIN",
|
||||
@@ -94,5 +97,5 @@
|
||||
},
|
||||
"slug": "birdnet-pi",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
|
||||
"version": "1.0"
|
||||
"version": "1.1"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
echo "Starting service: dbus"
|
||||
dbus-daemon --system
|
||||
exec \
|
||||
dbus-daemon --system --nofork
|
||||
4
zzz_draft_birdnet-pi/rootfs/custom-services.d/00_php_pfm
Normal file
4
zzz_draft_birdnet-pi/rootfs/custom-services.d/00_php_pfm
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
exec /usr/sbin/php-fpm* -F
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
echo "Starting service: pulseaudio"
|
||||
exec s6-setuidgid abc \
|
||||
/usr/bin/pulseaudio \
|
||||
--log-level=0 \
|
||||
--log-target=stderr \
|
||||
--exit-idle-time=-1 > /dev/null 2>&1
|
||||
@@ -1,3 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
echo "Starting service: avahi daemon"
|
||||
avahi-daemon
|
||||
until [[ -e /var/run/dbus/system_bus_socket ]]; do
|
||||
sleep 1s
|
||||
done
|
||||
|
||||
exec \
|
||||
avahi-daemon --no-chroot
|
||||
Reference in New Issue
Block a user