Code Review
/
vfc
/
gvnfm
/
vnfres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
27dcd0d
)
Fix database start error in multi-nodes k8s env
03/45003/1
author
yangyan
<yangyanyj@chinamobile.com>
Fri, 27 Apr 2018 02:16:01 +0000
(10:16 +0800)
committer
yangyan
<yangyanyj@chinamobile.com>
Fri, 27 Apr 2018 02:16:06 +0000
(10:16 +0800)
Issue-ID: VFC-889
Change-Id: I3cedc5601aaf6b26914b7a5e043138199b71cb7b
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
res/docker/instance_init.sh
patch
|
blob
|
history
diff --git
a/res/docker/instance_init.sh
b/res/docker/instance_init.sh
index
1986369
..
c2d91e8
100755
(executable)
--- a/
res/docker/instance_init.sh
+++ b/
res/docker/instance_init.sh
@@
-5,7
+5,7
@@
function start_redis_server {
}
function start_mysql {
- service mysql start
+
find /var/lib/mysql -type f -exec touch {} \; &&
service mysql start
sleep 1
}