mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-21 21:40:31 +02:00
update
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-custom_recording
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-custom_recording
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-envdir /run/user/1000
|
s6-envdir /run/user/1000
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
/usr/local/bin/custom_recording.sh
|
/usr/local/bin/custom_recording.sh
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-avahi_alias
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-avahi_alias
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
|
|
||||||
echo "Starting service: avahi alias"
|
echo "Starting service: avahi alias"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_analysis
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_analysis
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: birdnet analysis"
|
echo "Starting service: birdnet analysis"
|
||||||
$PYTHON_VIRTUAL_ENV /usr/local/bin/birdnet_analysis.py
|
$PYTHON_VIRTUAL_ENV /usr/local/bin/birdnet_analysis.py
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_log
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_log
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: birdnet log"
|
echo "Starting service: birdnet log"
|
||||||
/usr/local/bin/gotty --address localhost -p 8080 --path log --title-format "BirdNET-Pi Log" birdnet_log.sh
|
/usr/local/bin/gotty --address localhost -p 8080 --path log --title-format "BirdNET-Pi Log" birdnet_log.sh
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 6 }
|
if { sleep 6 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_recording
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_recording
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: birdnet recording"
|
echo "Starting service: birdnet recording"
|
||||||
/usr/local/bin/birdnet_recording.sh
|
/usr/local/bin/birdnet_recording.sh
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 5 }
|
if { sleep 5 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_stats
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-birdnet_stats
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: birdnet stats"
|
echo "Starting service: birdnet stats"
|
||||||
$HOME/BirdNET-Pi/birdnet/bin/streamlit run $HOME/BirdNET-Pi/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath "/stats"
|
$HOME/BirdNET-Pi/birdnet/bin/streamlit run $HOME/BirdNET-Pi/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath "/stats"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-caddy
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-caddy
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: caddy"
|
echo "Starting service: caddy"
|
||||||
/usr/local/bin/caddy run --config /etc/caddy/Caddyfile
|
/usr/local/bin/caddy run --config /etc/caddy/Caddyfile
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 120 }
|
if { sleep 120 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-chart_viewer
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-chart_viewer
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: chart viewer"
|
echo "Starting service: chart viewer"
|
||||||
$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py --daemon --sleep 2
|
$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py --daemon --sleep 2
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-getty
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-getty
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
with-contenv
|
with-contenv
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-livestream
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-livestream
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
echo "Starting service: livestream"
|
echo "Starting service: livestream"
|
||||||
/usr/local/bin/livestream.sh
|
/usr/local/bin/livestream.sh
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 10 }
|
if { sleep 10 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-spectrogram_viewer
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-spectrogram_viewer
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
s6-setuidgid ${USER}
|
s6-setuidgid ${USER}
|
||||||
echo "Starting service: spectrogram viewer"
|
echo "Starting service: spectrogram viewer"
|
||||||
/usr/local/bin/spectrogram.sh
|
/usr/local/bin/spectrogram.sh
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if { sleep 3 }
|
if { sleep 3 }
|
||||||
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-web_terminal
|
s6-svc -u /etc/s6-overlay/s6-rc.d/svc-web_terminal
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/bin/execlineb -P
|
#!/usr/bin/with-contenv bash
|
||||||
with-contenv
|
|
||||||
echo "Starting service: web terminal"
|
echo "Starting service: web terminal"
|
||||||
/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format "BirdNET-Pi Terminal" login
|
/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format "BirdNET-Pi Terminal" login
|
||||||
|
|||||||
Reference in New Issue
Block a user