]> _ Git - sycomore-symphony.git/commitdiff
wait #5433 @0.25 master
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 8 Sep 2022 10:27:21 +0000 (12:27 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 8 Sep 2022 10:27:21 +0000 (12:27 +0200)
app/stop.sh
teams/stop.sh

index 9e2c72c25c2e8b1b8a7a3550e21ca8baf6ca767f..3d52793418220970044af7c4a33255cca51d5894 100644 (file)
@@ -1,17 +1,2 @@
-#!/bin/bash
-
-#Find the Process ID for zoomapp running instance
-PID=`ps -ef | grep zoom-backend | grep -v grep | awk '{print $2}'`
-
-#Find the full command
-CMD=`ps -ef | grep zoom-backend | grep -v grep | awk '{c="";for(i=8;i<=NF;i++) c=c $i" "; print c}' | sed 's/\s*$//'`
-
-if [[ -z "$PID" ]]
-then
- echo "The app is not up."
-
-else
- pkill -9 -f "$CMD"
- echo "PID $PID is killed."
-
-fi
+#!/bin/sh
+pkill -f -9 zoom-backend
\ No newline at end of file
index 2d3faa5b42e1196828c4077f7b4648e92a574c65..2d661edbca21482c8f3e4eb4f75b29309a2f6583 100644 (file)
@@ -1,17 +1,2 @@
 #!/bin/sh
-
-#Find the Process ID for zoomapp running instance
-PID=`ps -ef | grep teams-backend | grep -v grep | awk '{print $2}'`
-
-#Find the full command
-CMD=`ps -ef | grep teams-backend | grep -v grep | awk '{c="";for(i=8;i<=NF;i++) c=c $i" "; print c}' | sed 's/\s*$//'`
-
-if [[ -z "$PID" ]]
-then
- echo "The app is not up."
-
-else
- pkill -9 -f "$CMD"
- echo "PID $PID is killed."
-
-fi
+pkill -f -9 teams-backend
\ No newline at end of file