From 4bc82cd938f0778088d2c101ab58e74bddbcc93f Mon Sep 17 00:00:00 2001 From: sekharhuawei Date: Wed, 23 Sep 2020 18:56:27 +0530 Subject: Two main process in vfc huawei vnfm pod Issue-ID: VFC-1692 Signed-off-by: sekharhuawei Change-Id: I7f5467f8ec7a17ed91ba82b3a9b0e211c603d04f --- huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'huawei/vnfmadapter/VnfmadapterService/docker/docker-entrypoint.sh') 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 -- cgit 1.2.3-korg