Code Review
/
vfc
/
nfvo
/
db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9aa0f3d
)
Fix docker init sh for db
25/85425/2
author
fujinhua
<fu.jinhua@zte.com.cn>
Tue, 16 Apr 2019 07:50:26 +0000
(15:50 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Tue, 16 Apr 2019 07:51:14 +0000
(15:51 +0800)
Change-Id: I24697aa52dde9c98486d165a5f44a096937ceaf2
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
docker/instance_run.sh
patch
|
blob
|
history
diff --git
a/docker/instance_run.sh
b/docker/instance_run.sh
index
3e459ad
..
db286c8
100755
(executable)
--- a/
docker/instance_run.sh
+++ b/
docker/instance_run.sh
@@
-24,13
+24,13
@@
function run_forever {
while [ ! -f /var/log/mysql.log ]; do
sleep 1
done
- tail -F /var/log/mysql.log
+ tail -F /var/log/mysql.log
}
start_redis_server
start_mysql
-if [ ! -f dbexist.txt ]; then
- echo 1 > dbexist.txt
- create_database
-fi
+
#
if [ ! -f dbexist.txt ]; then
+
#
echo 1 > dbexist.txt
+
#
create_database
+# fi
run_forever