This commit is contained in:
Alexandre
2024-04-25 14:49:00 +02:00
parent b4afd53794
commit ac32c823d2
5 changed files with 9 additions and 3 deletions

View File

@@ -94,5 +94,5 @@
},
"slug": "birdnet-pi",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"version": "0.7"
"version": "0.9"
}

View File

@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: dbus"
dbus-daemon --system & true

View File

@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: avahi daemon"
avahi-daemon & true

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: avahi alias"
exec \
s6-setuidgid "$USER" "/bin/bash -c /usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' -f1)"
s6-setuidgid "$USER" "/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' -f1)"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: caddy"
exec \
s6-setuidgid "$USER" "/usr/local/bin/caddy run --config /etc/caddy/Caddyfile"
s6-setuidgid "$USER" "/usr/bin/caddy run --config /etc/caddy/Caddyfile"