deployment.cfg 1.67 KB
Newer Older
1 2 3 4
# 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.
5
[buildout]
6
extends =
7
  ../instance-profiles/apache.cfg
8
  ../instance-profiles/memcached.cfg
9
  ../instance-profiles/mysql-database.cfg
10
  ../instance-profiles/mysql.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
11
  ../instance-profiles/sphinx.cfg
12 13 14
  ../instance-profiles/oood.cfg
  ../instance-profiles/supervisor.cfg
  ../instance-profiles/zope.cfg
15
  ../instance-profiles/kvm.cfg
16
  ../instance-profiles/testrunner.cfg
17
  ../instance-profiles/testing.cfg
18 19
  ../profiles/software-definition.cfg
  ../profiles/versions.cfg
20
  ../profiles/common.cfg
21

22
parts =
23
  software-links
24 25
  mysql-instance
  oood-instance
26
  supervisor-instance
27
  memcached-instance
28

29 30
versions = versions

31 32
[configuration]
supervisor_programs =
33
  10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
34
  20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
35
  30 sphinx (autorestart=true stopsignal=TERM) ${buildout:data-bin-directory}/searchd [ --nodetach ]
36

37 38 39 40 41 42
[software-links]
recipe = plone.recipe.command
command =
  ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
update-command = ${:command}

43
[software_definition]
44
software_home = /opt/erp5/trunk
45
executable = ${:software_home}/bin/python2.4
46 47
zope_software = ${:software_home}/parts/zope-2.8
products-zope = ${:zope_software}/lib/python/Products