Commit bf546e56 authored by Łukasz Nowak's avatar Łukasz Nowak

- sleep after starting for 5s to give mysql chance to start

This is bad way[tm] of solving this, but in long run this shall be part of
supervisord.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 760cfc97
...@@ -51,7 +51,9 @@ command = ...@@ -51,7 +51,9 @@ command =
[start-mysql-instance] [start-mysql-instance]
depends = ${mysql-instance:command} depends = ${mysql-instance:command}
recipe = plone.recipe.command recipe = plone.recipe.command
command = ${buildout:data-bin-directory}/mysqld_safe & command =
${buildout:data-bin-directory}/mysqld_safe &
sleep 5
update-command = ${:command} update-command = ${:command}
[stop-mysql-instance] [stop-mysql-instance]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment