other base image

This commit is contained in:
Alexandre
2024-04-26 12:20:29 +02:00
parent 2746724ce5
commit 03f79bf0a5
83 changed files with 695 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-custom_recording

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
s6-envdir /run/user/1000
s6-setuidgid ${USER}
/usr/local/bin/custom_recording.sh

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-avahi_alias

View File

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

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_analysis

View File

@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: birdnet analysis"
exec \
s6-setuidgid "$USER" "$PYTHON_VIRTUAL_ENV /usr/local/bin/birdnet_analysis.py"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_log

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: birdnet log"
exec \
s6-setuidgid "$USER" "/usr/local/bin/gotty --address localhost -p 8080 --path log --title-format 'birdnet-pi2 Log' birdnet_log.sh"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 6 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_recording

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: birdnet recording"
exec \
s6-setuidgid "$USER" "/usr/local/bin/birdnet_recording.sh"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 5 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_stats

View File

@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
s6-setuidgid ${USER}
echo "Starting service: birdnet stats"
exec \
s6-setuidgid "$USER" "$HOME/birdnet-pi2/birdnet/bin/streamlit run $HOME/birdnet-pi2/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath '/stats'"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-caddy

View File

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

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 120 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-chart_viewer

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: chart viewer"
exec \
s6-setuidgid "$USER" "$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py --daemon --sleep 2"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-getty

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: getty"
exec \
s6-setuidgid "$USER" "/sbin/agetty --autologin ${USER} --noclear %I $TERM"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-livestream

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: livestream"
exec \
s6-setuidgid "$USER" "/usr/local/bin/livestream.sh"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 10 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-spectrogram_viewer

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: spectrogram viewer"
exec \
s6-setuidgid "$USER" "/usr/local/bin/spectrogram.sh"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
if { sleep 3 }
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-web_terminal

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: web terminal"
exec \
s6-setuidgid "$USER" "/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format 'birdnet-pi2 Terminal' login"

View File

@@ -0,0 +1 @@
longrun