summaryrefslogtreecommitdiffstats
path: root/windriver/stop.sh
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-16 14:29:47 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-16 14:29:47 +0800
commit25b245b38be0ba1a850407064f6ee84867f15791 (patch)
tree76555412cb399e342e73ca60a2e6fe7f6da1d02c /windriver/stop.sh
parent27097cb92644e84fd7f72d56f1d4f2009f1e8f10 (diff)
Integrate uwsgi with django
To enable parallel processing of plugin services Change-Id: I61e9934273a8448ee6a437c9832a45d1f75a7a60 Issue-ID: MULTICLOUD-187 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/stop.sh')
-rw-r--r--windriver/stop.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/windriver/stop.sh b/windriver/stop.sh
index a84fb3b5..ab8a72d5 100644
--- a/windriver/stop.sh
+++ b/windriver/stop.sh
@@ -13,5 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9
+#ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9
+ps auxww |grep 'uwsgi --http :9005 --module titanium_cloud.wsgi --master' |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