deployment.cfg 1.25 KB
Newer Older
1
[buildout]
2
extends =
3
  ../instance-profiles/memcached.cfg
4
  ../instance-profiles/mysql-database.cfg
5 6 7 8
  ../instance-profiles/mysql.cfg
  ../instance-profiles/oood.cfg
  ../instance-profiles/supervisor.cfg
  ../instance-profiles/zope.cfg
9
  ../instance-profiles/kvm.cfg
10
  ../instance-profiles/testrunner.cfg
11
  ../instance-profiles/testing.cfg
12 13
  ../profiles/software-definition.cfg
  ../profiles/versions.cfg
14
  ../profiles/common.cfg
15

16
parts =
17
  software-links
18 19
  mysql-instance
  oood-instance
20
  supervisor-instance
21
  memcached-instance
22

23 24 25
python = software_definition
versions = versions

26 27
[configuration]
supervisor_programs =
28
  10 mysql (autorestart=true) ${buildout:data-bin-directory}/pidproxy [ ${configuration:mysql_pid} ${buildout:data-bin-directory}/mysqld_safe ]
29
  20 oood (autorestart=true stopsignal=TERM stopwaitsecs=30) ${buildout:data-bin-directory}/oood-runserw ${buildout:etc-directory}
30

31 32 33 34
[software-links]
recipe = plone.recipe.command
command =
  ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
35
  ln -sf ${software_definition:software_home}/bin/ipython2.4 ${buildout:bin-directory}/ipython2.4
36 37
update-command = ${:command}

38
[software_definition]
39
software_home = /opt/erp5/trunk
40
executable = ${:software_home}/bin/python2.4