init false

This commit is contained in:
Alexandre
2024-04-25 19:34:39 +02:00
parent 3a8be1ebf1
commit 9fbd9b3f67
5 changed files with 14 additions and 3 deletions

View File

@@ -97,5 +97,5 @@
},
"slug": "birdnet-pi",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"version": "1.1"
"version": "1.2"
}

View File

@@ -1,7 +1,6 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: pulseaudio"
exec s6-setuidgid abc \
/usr/bin/pulseaudio \
exec s6-setuidgid pi /usr/bin/pulseaudio \
--log-level=0 \
--log-target=stderr \
--exit-idle-time=-1 > /dev/null 2>&1

View File

@@ -1,4 +1,8 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: caddy"
until [[ -e /var/run/dbus/system_bus_socket ]]; do
sleep 1s
done
exec \
s6-setuidgid "$USER" /usr/bin/caddy run --config /etc/caddy/Caddyfile

View File

@@ -1,5 +1,9 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: getty"
until [[ -e /var/run/dbus/system_bus_socket ]]; do
sleep 1s
done
exec \
s6-setuidgid "$USER" /sbin/agetty --autologin "${USER}"
--noclear %I "$TERM"

View File

@@ -1,4 +1,8 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: livestream"
until [[ -e /var/run/dbus/system_bus_socket ]]; do
sleep 1s
done
exec \
s6-setuidgid "$USER" /usr/local/bin/livestream.sh