Use command service mysql start
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / docker / docker-entrypoint.sh
index ee6cb2d..8a2fab8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Copyright 2017, Nokia Corporation
 #
@@ -43,7 +43,8 @@ echo
 ./instance-config.sh
 
 # Start mysql
-su mysql -c /usr/bin/mysqld_safe &
+# su mysql -c /usr/bin/mysqld_safe &
+service mysql start
 
 # Perform one-time config
 if [ ! -e init.log ]; then