diff options
-rw-r--r-- | vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh | 15 |
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 |