diff options
author | 2017-10-24 17:58:36 +0800 | |
---|---|---|
committer | 2017-10-24 18:00:15 +0800 | |
commit | 28f5cbaaa66556f9cfba00e6f5d9a40339a72a76 (patch) | |
tree | 33871b39c9392b14cc34073b9fda2d48a383d670 /nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh | |
parent | 3ca6992f0d792495cfb70c683c7795c1a2fa2b0e (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/docker/docker-entrypoint.sh')
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/docker-entrypoint.sh | 6 |
1 files changed, 3 insertions, 3 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 } |