From: Guillaume Pellerin Date: Tue, 14 May 2024 08:26:15 +0000 (+0200) Subject: improve stop proc X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=refs%2Fheads%2Frelease%2F2.x;p=telecaster-server.git improve stop proc --- diff --git a/etc/init.d/telecaster b/etc/init.d/telecaster index 1cfb946..f9e8645 100755 --- a/etc/init.d/telecaster +++ b/etc/init.d/telecaster @@ -47,16 +47,13 @@ case "$1" in log_begin_msg "Stopping telecaster streaming vncserver:" "telecaster" pid=`cat $PIDFILE | sed -e 's/\s.*//'|head -n1` if [ ! pid = '' ]; then - su -c "pkill -9 -f monitor_check.py" - su -c "pkill -9 -f telecaster_mp3_monitor.yaml" - su -c "pkill -9 -f telecaster_webm_monitor.yaml" + su -c "pkill -9 -f deefuzzer" su -c "pkill -9 gst-launch-1.0" $USER su -c "pkill -9 -f jackd" $USER + su -c "vncserver -kill :$PORT" $USER + su -c "pkill -9 -f vnc" su -c "rm /tmp/.X1-lock" $USER su -c "rm -rf /tmp/.X11-unix/X1" $USER - sleep 1 - su -c "vncserver -kill :$PORT" $USER - su -c "pkill -9 -f vnc" log_end_msg 0 else log_end_msg 1