modify server.xml 8482 as 8486
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / docker / instance-init.sh
index 3975b5a..7db2ed4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Copyright 2017 Huawei Technologies Co., Ltd.
+# Copyright 2017, Nokia Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 #
 # Config mysql credentials
 
-#sed -i "s|rootpass|rootpass|" webapps/ROOT/WEB-INF/classes/spring/Vnfmadapter/services.xml
+function start_mysql {
+    echo "start mysql ... "
+    /usr/bin/mysqld_safe &
+    sleep 5
+}
+
+start_mysql
 
 # Initialize MySQL schema
 cd bin