summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh
diff options
context:
space:
mode:
authorsekharhuawei <reddi.shekhar@huawei.com>2020-09-23 18:56:27 +0530
committersekharhuawei <reddi.shekhar@huawei.com>2020-09-23 18:56:27 +0530
commit4bc82cd938f0778088d2c101ab58e74bddbcc93f (patch)
tree61dd79f7d321a8b9867d46f169b58439c038e115 /huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh
parent5f9e18ca0a4994236f53f2ceaf1fb357ee4afea3 (diff)
Two main process in vfc huawei vnfm pod
Issue-ID: VFC-1692 Signed-off-by: sekharhuawei <reddi.shekhar@huawei.com> Change-Id: I7f5467f8ec7a17ed91ba82b3a9b0e211c603d04f
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh')
-rwxr-xr-xhuawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh b/huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh
index 9cfd4dca..e61bbd19 100755
--- a/huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh
+++ b/huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh
@@ -46,11 +46,17 @@ echo
# Configure service based on docker environment variables
./instance-config.sh
+# Start mysql
+/usr/bin/mysqld_safe &
+
# Perform one-time config
if [ ! -e init.log ]; then
# Perform workarounds due to defects in release binary
./instance-workaround.sh
+ # Init mysql; set root password
+ ./init-mysql.sh
+
# microservice-specific one-time initialization
./instance-init.sh