From: Guillaume Pellerin Date: Fri, 12 Apr 2024 07:13:22 +0000 (+0200) Subject: cleanup X tmp lock on stop X-Git-Tag: 3.0.1~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3142930fc9b826ee6df8b1a75e084c013eafb65c;p=telecaster-server.git cleanup X tmp lock on stop --- diff --git a/etc/init.d/telecaster b/etc/init.d/telecaster index b616e0d..1cfb946 100755 --- a/etc/init.d/telecaster +++ b/etc/init.d/telecaster @@ -52,6 +52,8 @@ case "$1" in su -c "pkill -9 -f telecaster_webm_monitor.yaml" su -c "pkill -9 gst-launch-1.0" $USER su -c "pkill -9 -f jackd" $USER + 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"