summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver
diff options
context:
space:
mode:
Diffstat (limited to 'nokia/vnfmdriver')
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh5
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh4
2 files changed, 5 insertions, 4 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
index a91b0004..8a2fab86 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright 2017, Nokia Corporation
#
@@ -43,7 +43,8 @@ echo
./instance-config.sh
# Start mysql
-/usr/bin/mysqld_safe &
+# su mysql -c /usr/bin/mysqld_safe &
+service mysql start
# Perform one-time config
if [ ! -e init.log ]; then
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
index 7db2ed43..d1be95c1 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright 2017, Nokia Corporation
#
@@ -18,7 +18,7 @@
function start_mysql {
echo "start mysql ... "
- /usr/bin/mysqld_safe &
+ service mysql start
sleep 5
}