diff options
Diffstat (limited to 'mgr/docker/instance_init.sh')
-rwxr-xr-x | mgr/docker/instance_init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mgr/docker/instance_init.sh b/mgr/docker/instance_init.sh index 15b597c..90468f8 100755 --- a/mgr/docker/instance_init.sh +++ b/mgr/docker/instance_init.sh @@ -5,7 +5,7 @@ function start_redis_server { } function start_mysql { - find /var/lib/mysql -type f -exec touch {} \; && service mysql start + service mysql start sleep 1 } @@ -17,4 +17,4 @@ function create_database { start_redis_server start_mysql -create_database
\ No newline at end of file +create_database |