diff options
author | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-24 17:58:36 +0800 |
---|---|---|
committer | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-24 18:00:15 +0800 |
commit | 28f5cbaaa66556f9cfba00e6f5d9a40339a72a76 (patch) | |
tree | 33871b39c9392b14cc34073b9fda2d48a383d670 | |
parent | 3ca6992f0d792495cfb70c683c7795c1a2fa2b0e (diff) |
use servie mysql start
Change-Id: I4c2cfda4438911475837b36cde68a4a937fbfbc2
Issue-ID: VFC-544
Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
-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 } |