Commit c12fa76d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use cloudooo instead of oood.

* cloudoooctl cannot be used with supervisord, because it daemonise by itself.
* separating 'supervisor_programs' configuration for each cfg file is still not good, because it is added just by loading *.cfg, that is triggered by deployment.cfg, thus all supervisor_programs will be added even if we don't specify several parts in instance buildout.cfg.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41676 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2e7a860
......@@ -25,6 +25,9 @@ paths =
[cloudooo-instance]
recipe = erp5.recipe.cloudoooinstance
depends =
${paster:eggs}
${create-log-directory:paths}
daemon = true # only true or false
conf-output = ${buildout:etc-directory}/cloudooo.conf
ctl-output = ${buildout:data-bin-directory}/cloudoooctl
......@@ -61,4 +64,4 @@ server-port = 8011
[configuration]
supervisor_programs +=
30 cloudooo (autorestart=true stopsignal=1 stopwaitsecs=20) ${cloudooo-instance-template:ctl-output}
30 cloudooo ${buildout:bin-directory}/paster [serve ${cloudooo-instance:conf-output}]
......@@ -39,3 +39,7 @@ mysqld-extra-configuration =
[mysql-server-template]
<= mysql-instance
[configuration]
supervisor_programs +=
10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
......@@ -44,3 +44,7 @@ update-command = ${:command}
[conversion-server-template]
<= oood-instance
[configuration]
supervisor_programs +=
20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
# This Configuration file is used to to define a standard deployment, without
# any create instances. This should create the basic services required for run
# one ERP5 instance, like MySQL server, Oood and so on. For use this configuration
# it is required build a software home previously.
# one ERP5 instance, like MySQL server, CloudOoo and so on. For use this
# configuration # it is required build a software home previously.
[buildout]
extends =
......@@ -11,7 +11,6 @@ extends =
../instance-profiles/memcached.cfg
../instance-profiles/mysql-database.cfg
../instance-profiles/mysql.cfg
../instance-profiles/oood.cfg
../instance-profiles/sphinx.cfg
../instance-profiles/supervisor.cfg
../instance-profiles/testing.cfg
......@@ -24,7 +23,7 @@ extends =
parts =
eggs
mysql-instance
oood-instance
cloudooo-instance
supervisor-instance
memcached-instance
......@@ -97,11 +96,6 @@ eggs =
extra-paths =
${itools:lib}
[configuration]
supervisor_programs =
10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
#[software-links]
#recipe = plone.recipe.command
#command =
......
......@@ -22,7 +22,7 @@ extends =
parts =
software-links
mysql-instance
oood-instance
cloudooo-instance
supervisor-instance
memcached-instance
......
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