From 88f0c2df5ee021d02da5539f0fcf06557c413d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Thu, 11 Apr 2024 17:48:56 +0200 Subject: [PATCH] Add stop for connectors, servo_motor and tirette --- startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup.sh b/startup.sh index 16bc815..0831c4c 100644 --- a/startup.sh +++ b/startup.sh @@ -65,7 +65,7 @@ monitor_all() { for pid in "${pids[@]}"; do if ! kill -0 $pid 2>/dev/null; then echo "Program with PID $pid has terminated, stopping other programs" - pkill -P $$ -f "lidar|arucoDetector|ihm_robot" + pkill -P $$ -f "lidar|arucoDetector|ihm_robot|connectors|servo_motor|tirette" sleep 1 pkill -P $$ -f "socketServer" return