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

- put mysql log into proper directory, which is prepared

Because of side effect of many different recipe such directory might exists,
but as isn't sure it is better to try-create it.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32327 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f407d3f1
......@@ -16,8 +16,7 @@ mysql_host = 127.0.0.1
mysql_datadir = ${buildout:directory}/var/mysql
mysql_pid = ${:mysql_datadir}/mysql.pid
mysql_sock = ${:mysql_datadir}/mysql.sock
# XXX/TODO: mysql_error_log shall be in var/log
mysql_error_log = ${buildout:directory}/var/mysql.err.log
mysql_error_log = ${buildout:directory}/var/log/mysql.err.log
[mysql-bin]
recipe = collective.recipe.template
......@@ -37,6 +36,7 @@ output = ${buildout:directory}/bin/mysqld
[mysql-instance]
recipe = plone.recipe.command
command =
mkdir -p ${buildout:directory}/var/log/
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir}
update-command = ${:command}
......
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