summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver/vfcadaptorservice
diff options
context:
space:
mode:
authoryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-24 17:58:36 +0800
committeryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-24 18:00:15 +0800
commit28f5cbaaa66556f9cfba00e6f5d9a40339a72a76 (patch)
tree33871b39c9392b14cc34073b9fda2d48a383d670 /nokia/vnfmdriver/vfcadaptorservice
parent3ca6992f0d792495cfb70c683c7795c1a2fa2b0e (diff)
use servie mysql start
Change-Id: I4c2cfda4438911475837b36cde68a4a937fbfbc2 Issue-ID: VFC-544 Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice')
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh6
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
index 99ccc16f..124cfd35 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh
@@ -43,10 +43,10 @@ echo
./instance-config.sh
function start_mysql {
- echo "start mysql ... "
- systemctl start mysql.service > myout_docker_enctrypoint.file 2>&1
+ echo "start mysql in entry point ... "
+ service mysql start > myout_docker_enctrypoint.file 2>&1
cat myout_docker_enctrypoint.file
- systemctl status mysql.service > myout_docker_enctrypoint_mysql_status.file 2>&1
+ service mysql status > myout_docker_enctrypoint_mysql_status.file 2>&1
cat myout_docker_enctrypoint_mysql_status.file
sleep 5
}
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
index 96e1145a..1b55e980 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh
@@ -17,10 +17,10 @@
# Config mysql credentials
function start_mysql {
- echo "start mysql ... "
- systemctl start mysql.service > myout_instance_init.file 2>&1
+ echo "start mysql in instance_init ... "
+ service mysql start > myout_instance_init.file 2>&1
cat myout_instance_init.file
- systemctl status mysql.service > myout_instance_init_mysql_status.file 2>&1
+ service mysql status > myout_instance_init_mysql_status.file 2>&1
cat myout_instance_init_mysql_status.file
sleep 5
}