From dbe157a3ab2986f1b7e5634cd8db2d916fe24c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 8 Feb 2010 17:19:17 +0000 Subject: [PATCH] - 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 --- buildout/mysql-instance/buildout.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildout/mysql-instance/buildout.cfg b/buildout/mysql-instance/buildout.cfg index 6b1f9294b5..faadf50a8b 100644 --- a/buildout/mysql-instance/buildout.cfg +++ b/buildout/mysql-instance/buildout.cfg @@ -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} -- 2.30.9