summaryrefslogtreecommitdiffstats
path: root/newton/stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'newton/stop.sh')
-rwxr-xr-xnewton/stop.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/newton/stop.sh b/newton/stop.sh
index 1abfe404..282eed6e 100755
--- a/newton/stop.sh
+++ b/newton/stop.sh
@@ -10,5 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#!/bin/bash
+
ps auxww | grep 'manage.py runserver 0.0.0.0:9003' | awk '{print $2}' | xargs kill -9
ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9