From 14132a2c06bc6b6431f5be90cecf303132d94103 Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Tue, 9 Apr 2019 10:30:44 +0000 Subject: Fix bugs for infra_workload APIs Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang --- lenovo/run.sh | 2 +- lenovo/stop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lenovo') diff --git a/lenovo/run.sh b/lenovo/run.sh index 0fa331f7..48e26cdc 100755 --- a/lenovo/run.sh +++ b/lenovo/run.sh @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid +memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid export PYTHONPATH=lib/share #nohup python manage.py runserver 0.0.0.0:9010 2>&1 & diff --git a/lenovo/stop.sh b/lenovo/stop.sh index f43fab1b..87f80ba8 100755 --- a/lenovo/stop.sh +++ b/lenovo/stop.sh @@ -15,4 +15,4 @@ #ps auxww | grep 'manage.py runserver 0.0.0.0:9010' | awk '{print $2}' | xargs kill -9 ps auxww |grep 'uwsgi --http :9010 --module thinkcloud.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 +ps auxww | grep 'memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9 -- cgit 1.2.3-korg