删除等待数据库启动的代码,改为手动创建数据库

This commit is contained in:
virusdefender
2016-05-19 17:06:16 +08:00
parent ac53f7974d
commit 1b286a365c

View File

@@ -7,6 +7,4 @@ find /code -name "*.pyc" -delete
python -m compileall /code
chown -R nobody:nogroup /code/log /code/test_case /code/upload
echo "Waiting MySQL and Redis to start"
sleep 10
python /code/tools/create_db.py
exec supervisord