Commit 80f68fcf authored by Łukasz Nowak's avatar Łukasz Nowak

- create software definition section


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31915 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a37ab26d
......@@ -40,13 +40,13 @@ output = ${buildout:directory}/bin/mysqld
[mysql_install_db]
recipe = plone.recipe.command
command =
${buildout:mysql_software}/bin/mysql_install_db --datadir=${mycnf:datadir}
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${mycnf:datadir}
update-command = ${mysql_install_db:command}
[mycnf]
recipe = plone.recipe.command
command =
basedir=${buildout:mysql_software}
basedir=${software_definition:mysql_software}
datadir=${buildout:mysql_datadir}
# files shall be in better places
pid=${:datadir}/mysql.pid
......
#!/bin/sh
${buildout:mysql_software}/bin/mysql -P ${ports:mysql} -S ${mycnf:sock} -u root -p $*
${software_definition:mysql_software}/bin/mysql -P ${ports:mysql} -S ${mycnf:sock} -u root -p $*
#!/bin/sh
${buildout:mysql_software}/bin/mysqladmin -P ${ports:mysql} -S ${mycnf:sock} -u root -p $*
${software_definition:mysql_software}/bin/mysqladmin -P ${ports:mysql} -S ${mycnf:sock} -u root -p $*
#!/bin/sh
${buildout:mysql_software}/bin/mysqld_safe ${mycnf:opt}
${software_definition:mysql_software}/bin/mysqld_safe ${mycnf:opt}
......@@ -36,5 +36,5 @@ parts =
# erp5-bt5
# erp5-products
# XXX: shall be moved to mysql software buildout
[software_definition]
mysql_software = ${mysql-tritonn-5.0:location}
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