From 9ed5a6a769abcc09abd97ff9b38b765514e350a8 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 14 May 2024 10:26:15 +0200 Subject: [PATCH] improve stop proc --- etc/init.d/telecaster | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 -- 2.39.5