From f0c80283fd078aca9632d52474eecd963b8c54db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 16 Feb 2010 13:33:24 +0000 Subject: [PATCH] - allow to start oood - use locally built oood in development profile git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32617 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/development.cfg | 1 + buildout/instance-profiles/oood.cfg | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/buildout/development.cfg b/buildout/development.cfg index b63a69b9e8..6ac8bddf04 100644 --- a/buildout/development.cfg +++ b/buildout/development.cfg @@ -3,6 +3,7 @@ extends = official.cfg parts += start-mysql-instance + start-oood-instance cmf15 products-deps products-other diff --git a/buildout/instance-profiles/oood.cfg b/buildout/instance-profiles/oood.cfg index a36e5f1e9e..27dbd833ca 100644 --- a/buildout/instance-profiles/oood.cfg +++ b/buildout/instance-profiles/oood.cfg @@ -22,9 +22,26 @@ input = ${buildout:directory}/templates/oood.conf.in output = ${configuration:oood_conf_file} [oood-instance] +depends = ${oood-etc:output} 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 -- 2.30.9