summaryrefslogtreecommitdiffstats
path: root/scripts/xds-stop-server.sh
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-28 14:38:39 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-28 15:10:52 +0200
commit472d4b34027f37b05f10d5558d28d6c6bca74ff2 (patch)
treeec72e0b0278b3bde5b2099eb7e00373c4520fb71 /scripts/xds-stop-server.sh
parentcd39a10faf25c07bd235824c5606bf7f08f63182 (diff)
Add script to get xds-agent tarballs.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'scripts/xds-stop-server.sh')
-rwxr-xr-xscripts/xds-stop-server.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/xds-stop-server.sh b/scripts/xds-stop-server.sh
deleted file mode 100755
index 8a6bf5e..0000000
--- a/scripts/xds-stop-server.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# Stop it gracefully
-pkill -INT xds-server
-sleep 1
-
-# Seems no stopped, nasty kill
-nbProc=$(ps -ef |grep xds-server |grep -v grep |wc -l)
-if [ "$nbProc" != "0" ]; then
- pkill -KILL xds-server
-fi
-
-nbProc=$(ps -ef |grep syncthing |grep -v grep |wc -l)
-if [ "$nbProc" != "0" ]; then
- pkill -KILL syncthing
- pkill -KILL syncthing-inotify
-fi
-