Commit 8dcd66a6 authored by Łukasz Nowak's avatar Łukasz Nowak

- put my.cnf file location in configuration section

Access to this file from buildout level will allow to reuse configuration easily


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32441 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79e678d8
......@@ -14,6 +14,7 @@ mysql_datadir = ${buildout:directory}/var/mysql
mysql_pid = ${:mysql_datadir}/mysql.pid
mysql_sock = ${:mysql_datadir}/mysql.sock
mysql_error_log = ${buildout:directory}/var/log/mysql.err.log
mysql_cnf_file = ${buildout:directory}/var/etc/my.cnf
[mysql-bin]
recipe = collective.recipe.template
......@@ -34,7 +35,7 @@ output = ${buildout:directory}/bin/mysqld
depends = ${etc-directory:command}
recipe = collective.recipe.template
input = ${buildout:directory}/mysql-instance/templates/my.cnf.in
output = ${buildout:directory}/var/etc/my.cnf
output = ${configuration:mysql_cnf_file}
[mysql-instance]
depends = ${log-directory: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