diff options
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice')
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh | 6 | ||||
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh | 6 |
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 } |