aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2017-08-14 12:47:23 +0530
committerMurali-P <murali.p@huawei.com>2017-08-16 11:35:20 +0530
commit35a4112cd5706977f10fe554e03ab5073155d3e0 (patch)
treea4b6aea77eac324a3702e93c8befb5b483043a07
parent22584d08c709a1f590b57fe57ebe6c58d09ac918 (diff)
Remove MSB initialization
JIRA: VNFSDK-34 Change-Id: I58f92fd81f096693a288c6fed69ed973a5916d6d Signed-off-by: Murali-P <murali.p@huawei.com>
-rw-r--r--vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh15
1 files changed, 2 insertions, 13 deletions
diff --git a/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh b/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh
index 2fd14ca0..a4527bb6 100644
--- a/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh
+++ b/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh
@@ -27,19 +27,6 @@ echo
echo Environment Variables:
echo "SERVICE_IP=$SERVICE_IP"
-if [ -z "$MSB_ADDR" ]; then
- echo "Missing required variable MSB_ADDR: Microservices Service Bus address <ip>:<port>"
- exit 1
-fi
-echo "MSB_ADDR=$MSB_ADDR"
-echo
-
-# Wait for MSB initialization
-echo Wait for MSB initialization
-for i in {1..20}; do
- curl -sS -m 1 $MSB_ADDR > /dev/null && break
- sleep $i
-done
echo
@@ -47,6 +34,8 @@ echo
./instance-config.sh
# Start mysql
+chown -R mysql /var/lib/mysql
+chgrp -R mysql /var/lib/mysql
su mysql -c /usr/bin/mysqld_safe &
# Perform one-time config