summaryrefslogtreecommitdiffstats
path: root/fcaps
diff options
context:
space:
mode:
Diffstat (limited to 'fcaps')
-rw-r--r--fcaps/docker/Dockerfile2
-rw-r--r--fcaps/run.sh2
-rw-r--r--fcaps/stop.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/fcaps/docker/Dockerfile b/fcaps/docker/Dockerfile
index 015c795a..408a6f99 100644
--- a/fcaps/docker/Dockerfile
+++ b/fcaps/docker/Dockerfile
@@ -27,7 +27,7 @@ RUN apk update && \
chmod +x /opt/fcaps/*.sh && \
rm -f multicloud-openstack-fcaps.zip && \
pip install -r /opt/fcaps/requirements.txt && \
- apk del -y wget unzip gcc make libc-dev libffi-dev openssl-dev && \
+ apk del wget unzip gcc make libc-dev libffi-dev openssl-dev && \
mkdir -p /var/log/onap/multicloud/fcaps && \
chown onap:onap /var/log/onap -R && \
chown onap:onap /opt/fcaps -R
diff --git a/fcaps/run.sh b/fcaps/run.sh
index 088a04c2..b5e1a61f 100644
--- a/fcaps/run.sh
+++ b/fcaps/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
#service rabbitmq-server restart
diff --git a/fcaps/stop.sh b/fcaps/stop.sh
index 56104f9f..d608abed 100644
--- a/fcaps/stop.sh
+++ b/fcaps/stop.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (c) 2017-2019 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@
#ps auxww | grep 'manage.py runserver 0.0.0.0:9011' | awk '{print $2}' | xargs kill -9
ps auxww |grep 'uwsgi --http :9011 --module fcaps.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