From: Guillaume Pellerin Date: Wed, 4 Jun 2025 06:21:07 +0000 (+0200) Subject: remove all sleeps, use absolute path X-Git-Tag: 4.1.0~9^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dc7f6ad73d3cd47cd1f78d0fdaeb1eaa71cdca9e;p=telecaster-server.git remove all sleeps, use absolute path --- diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 32563bc..cdab59e 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -41,7 +41,7 @@ AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_audio_str ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live.mp3 """ -BOOT_TIME_DELAY = 2 +BOOT_TIME_DELAY = 0 DEFAULT_CONFIG_FILE = "/etc/telecaster/telecaster.yml" diff --git a/bin/streaming/telecaster.sh b/bin/streaming/telecaster.sh index f41dd3b..b245e70 100755 --- a/bin/streaming/telecaster.sh +++ b/bin/streaming/telecaster.sh @@ -4,23 +4,21 @@ set -e #source /etc/telecaster/telecaster.conf -PATH=$PATH:/srv/telecaster/telecaster-server/bin/streaming/ - # AUDIO # jackd $JACK_OPTIONS & # qjackctl & -sleep 2 +#sleep 2 -pipewire & +#pipewire & qpwgraph & -sleep 2 +#sleep 2 # TELECASTER -telecaster.py & +/srv/telecaster/telecaster-server/bin/streaming/telecaster.py & #sleep 3 diff --git a/etc/init.d/telecaster b/etc/init.d/telecaster index cbf5c7d..7f0991c 100755 --- a/etc/init.d/telecaster +++ b/etc/init.d/telecaster @@ -1,8 +1,8 @@ #!/bin/sh ### BEGIN INIT INFO # Provides: vncserver -# Required-Start: -# Required-Stop: +# Required-Start: icecast2 sddm +# Required-Stop:: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: init script for the audio vncserver