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

- remove instance local start/stop parts

 - in reality development profile is like deployment, but with starting supervisor and using local software home


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32700 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 951600d3
......@@ -47,16 +47,3 @@ recipe = plone.recipe.command
command =
mkdir -p ${configuration:mysql_datadir}
${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir}
[start-mysql-instance]
depends = ${mysql-instance:command}
recipe = plone.recipe.command
command =
${buildout:data-bin-directory}/mysqld_safe &
sleep 5
update-command = ${:command}
[stop-mysql-instance]
recipe = plone.recipe.command
command = kill `cat ${configuration:mysql_pid}`
update-command = ${:command}
......@@ -27,21 +27,5 @@ recipe = collective.recipe.template
input = ${buildout:directory}/templates/oood-runserw.in
output = ${buildout:data-bin-directory}/oood-runserw
[start-oood-instance]
depends = ${oood-instance:output}
recipe = plone.recipe.command
command =
${buildout:data-bin-directory}/oood-runserw --start &
sleep 5
update-command = ${:command}
[stop-oood-instance]
depends = ${oood-instance:output}
recipe = plone.recipe.command
command =
${buildout:data-bin-directory}/oood-runserw --stop &
sleep 5
update-command = ${:command}
[requirements]
binary = Xvfb
[buildout]
extends = ../profiles/official.cfg
extends = ../profiles/deployment.cfg
parts +=
start-mysql-instance
start-oood-instance
supervisor-start
zope-instance
# use locally developed recipe
[software_definition]
software_home = ${buildout:directory}
[zope-instance]
recipe = erp5.recipe.standaloneinstance
......
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