This commit is contained in:
Alexandre
2024-04-25 10:54:41 +02:00
parent b36552fdd0
commit 50708e068f
24 changed files with 24 additions and 35 deletions

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: avahi alias"

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: birdnet analysis"
$PYTHON_VIRTUAL_ENV /usr/local/bin/birdnet_analysis.py

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: birdnet log"
/usr/local/bin/gotty --address localhost -p 8080 --path log --title-format "BirdNET-Pi Log" birdnet_log.sh

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: birdnet recording"
/usr/local/bin/birdnet_recording.sh

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
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"

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: caddy"
/usr/local/bin/caddy run --config /etc/caddy/Caddyfile

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: chart viewer"
$PYTHON_VIRTUAL_ENV /usr/local/bin/daily_plot.py --daemon --sleep 2

View File

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

View File

@@ -1,4 +1,4 @@
#!/bin/execlineb -P
#!/usr/bin/with-contenv bash
with-contenv
s6-setuidgid ${USER}

View File

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

View File

@@ -1,4 +1,3 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
echo "Starting service: livestream"
/usr/local/bin/livestream.sh

View File

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

View File

@@ -1,5 +1,4 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
s6-setuidgid ${USER}
echo "Starting service: spectrogram viewer"
/usr/local/bin/spectrogram.sh

View File

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

View File

@@ -1,4 +1,3 @@
#!/bin/execlineb -P
with-contenv
#!/usr/bin/with-contenv bash
echo "Starting service: web terminal"
/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format "BirdNET-Pi Terminal" login